Mercurial > pidgin.yaz
diff libpurple/protocols/yahoo/yahoo_filexfer.c @ 22794:0d7ceae153bd
Leak fixes.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 02 May 2008 22:01:01 +0000 |
parents | cc5b2a145652 |
children | af8b35c7730d ef47df3e5dd4 1dd0e007514d |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo_filexfer.c Fri May 02 21:09:59 2008 +0000 +++ b/libpurple/protocols/yahoo/yahoo_filexfer.c Fri May 02 22:01:01 2008 +0000 @@ -998,6 +998,7 @@ url = g_strdup_printf("%ld.%ld.%ld.%ld", d, c, b, a); if (!purple_url_parse(url, &(xd->host), &(xd->port), &(xd->path), NULL, NULL)) { purple_xfer_cancel_remote(xfer); + g_free(url); return; } g_free(url);