# HG changeset patch # User Paul Aurich # Date 1263494252 0 # Node ID 36daf22b09f6a1be326ff5a9cd220a4f43b41c51 # Parent c64b22932ffacd22515a33311300623f228b24d6 I think this is only the place this could leak... ==14064== 36 bytes in 2 blocks are definitely lost in loss record 13,092 of 20,211 ==14064== at 0x4024C1C: malloc (vg_replace_malloc.c:195) ==14064== by 0x4A73B0F: __vasprintf_chk (vasprintf_chk.c:82) ==14064== by 0x485197E: g_vasprintf (in /lib/libglib-2.0.so.0.2200.3) ==14064== by 0x483D485: g_strdup_vprintf (in /lib/libglib-2.0.so.0.2200.3) ==14064== by 0x483D4A7: g_strdup_printf (in /lib/libglib-2.0.so.0.2200.3) ==14064== by 0x492FC6D: purple_mkstemp (util.c:2916) ==14064== by 0x80FEDD5: pidgin_convert_buddy_icon (gtkutils.c:2690) diff -r c64b22932ffa -r 36daf22b09f6 pidgin/gtkutils.c --- a/pidgin/gtkutils.c Wed Jan 13 03:13:26 2010 +0000 +++ b/pidgin/gtkutils.c Thu Jan 14 18:37:32 2010 +0000 @@ -2723,6 +2723,7 @@ g_object_unref(G_OBJECT(pixbuf)); if (!success) { purple_debug_error("buddyicon", "Could not convert icon to usable format.\n"); + g_free(filename); return NULL; }