Mercurial > pidgin.yaz
diff gtk/gtkutils.c @ 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 | 0a7ce7c8faa8 |
children | b7b5ff9c04a1 |
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));