changeset 28882:36daf22b09f6

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)
author Paul Aurich <paul@darkrain42.org>
date Thu, 14 Jan 2010 18:37:32 +0000
parents c64b22932ffa
children e2ea496f77be
files pidgin/gtkutils.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
 		}