changeset 15193:d380e165cd27

[gaim-migrate @ 17981] Fix a memleak when using gtk 2.0 and ~/.gaim/icons/ doesn't exist and it can't be created for whatever reason. Extremely minor. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 13 Dec 2006 08:44:10 +0000
parents 1a54e98534ec
children 8d2e6e9118e2
files gtk/gtkutils.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gtk/gtkutils.c	Wed Dec 13 02:11:14 2006 +0000
+++ b/gtk/gtkutils.c	Wed Dec 13 08:44:10 2006 +0000
@@ -2492,9 +2492,7 @@
 			gaim_debug_error("buddyicon",
 							 "Unable to create directory %s: %s\n",
 							 dirname, strerror(errno));
-#if GTK_CHECK_VERSION(2,2,0)
 			g_strfreev(prpl_formats);
-#endif
 			g_free(random);
 			g_free(filename);
 			return NULL;