Mercurial > pidgin
diff src/protocols/yahoo/yahoo.c @ 7161:3471c3b1e85c
[gaim-migrate @ 7728]
"Memleaks are bad, mkay."
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Sun, 05 Oct 2003 17:51:09 +0000 |
| parents | f189f8ccaa98 |
| children | 4bd3892cded3 |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c Sun Oct 05 17:41:48 2003 +0000 +++ b/src/protocols/yahoo/yahoo.c Sun Oct 05 17:51:09 2003 +0000 @@ -2584,6 +2584,8 @@ _("<html><body><b>Error retrieving profile</b></body></html>"), NULL, NULL); + g_free(info_data->name); + g_free(info_data); return; } @@ -2602,6 +2604,9 @@ gaim_notify_formatted(info_data->gc, NULL, _("Buddy Information"), NULL, buf, NULL, NULL); + + g_free(info_data->name); + g_free(info_data); return; } @@ -2619,6 +2624,9 @@ gaim_notify_formatted(info_data->gc, NULL, _("Buddy Information"), NULL, buf, NULL, NULL); + + g_free(info_data->name); + g_free(info_data); return; } @@ -2814,6 +2822,9 @@ } g_free(url_buffer); + + g_free(info_data->name); + g_free(info_data); } static void yahoo_get_info(GaimConnection *gc, const char *name)
