Mon, 30 Mar 2009 05:50:34 +0000
Apply Paul's second patch to fix some memory leaks found in valgrind.
References #8786.
| libpurple/protocols/oscar/oscar.c | file | annotate | diff | comparison | revisions | |
| pidgin/gtkutils.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/protocols/oscar/oscar.c Sat Mar 28 07:31:29 2009 +0000 +++ b/libpurple/protocols/oscar/oscar.c Mon Mar 30 05:50:34 2009 +0000 @@ -4847,6 +4847,7 @@ /* TODO: Combine these two calls! */ aim_srv_setextrainfo(od, FALSE, 0, TRUE, status_text, itmsurl); oscar_set_extendedstatus(gc); + g_free(status_text); } }
--- a/pidgin/gtkutils.c Sat Mar 28 07:31:29 2009 +0000 +++ b/pidgin/gtkutils.c Mon Mar 30 05:50:34 2009 +0000 @@ -3578,7 +3578,9 @@ if (tmp == NULL) return FALSE; + g_free(tmp); tmp = NULL; + if (!g_spawn_command_line_sync("gconftool-2 --all-dirs /desktop/gnome/url-handlers", &tmp, &err, NULL, NULL)) {