pidgin: c7504bbb: Plug a small and unlikely leak.

datallah at pidgin.im datallah at pidgin.im
Fri Jun 6 02:51:52 EDT 2008


-----------------------------------------------------------------
Revision: c7504bbbe35f5bef52032c0cdf6bc7182128a469
Ancestor: 3e897249d1d33c1a97f52b3ed8b32709c155d2d8
Author: datallah at pidgin.im
Date: 2008-06-06T06:31:53
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/c7504bbbe35f5bef52032c0cdf6bc7182128a469

Modified files:
        libpurple/protocols/yahoo/yahoo_profile.c

ChangeLog: 

Plug a small and unlikely leak.

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo_profile.c	2a8c196e6f3a8035d4747cd17a4e45c51a43b133
+++ libpurple/protocols/yahoo/yahoo_profile.c	5ebf0edfff19b02500eb5147fff5f8f5485380bc
@@ -745,6 +745,7 @@ static char *yahoo_get_photo_url(const c
 				p += 1; /* skip only the ' ' */
 				q = strchr(p, ' ');
 				if (q) {
+					g_free(it);
 					it = g_strndup(p, q - p);
 				}
 			}


More information about the Commits mailing list