Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
22793:6b182ab4bc05 | 22794:0d7ceae153bd |
---|---|
996 xd->port = YAHOO_XFER_RELAY_PORT; | 996 xd->port = YAHOO_XFER_RELAY_PORT; |
997 | 997 |
998 url = g_strdup_printf("%ld.%ld.%ld.%ld", d, c, b, a); | 998 url = g_strdup_printf("%ld.%ld.%ld.%ld", d, c, b, a); |
999 if (!purple_url_parse(url, &(xd->host), &(xd->port), &(xd->path), NULL, NULL)) { | 999 if (!purple_url_parse(url, &(xd->host), &(xd->port), &(xd->path), NULL, NULL)) { |
1000 purple_xfer_cancel_remote(xfer); | 1000 purple_xfer_cancel_remote(xfer); |
1001 g_free(url); | |
1001 return; | 1002 return; |
1002 } | 1003 } |
1003 g_free(url); | 1004 g_free(url); |
1004 /* Free the address... */ | 1005 /* Free the address... */ |
1005 g_free(hosts->data); | 1006 g_free(hosts->data); |