changeset 14655:4764c501fdb9

[gaim-migrate @ 17401] unleak committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Fri, 29 Sep 2006 20:49:33 +0000
parents 355b07850c07
children d1a76ccb93c4
files gtk/gtkutils.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gtk/gtkutils.c	Fri Sep 29 20:48:45 2006 +0000
+++ b/gtk/gtkutils.c	Fri Sep 29 20:49:33 2006 +0000
@@ -2561,12 +2561,14 @@
 
 			g_free(random);
 			g_free(filename);
+			g_free(contents);
 #if GTK_CHECK_VERSION(2,2,0) && !GTK_CHECK_VERSION(2,4,0)
 			g_object_unref(G_OBJECT(pixbuf));
 #endif
 			return NULL;
 		}
 		fclose(image);
+		g_free(contents);
 
 #if GTK_CHECK_VERSION(2,2,0) && !GTK_CHECK_VERSION(2,4,0)
 		g_object_unref(G_OBJECT(pixbuf));