pidgin/gtkutils.c

branch
vv
changeset 26611
5d52410f6ea8
parent 26599
191be70922b2
child 26753
a8dca8faae69
--- a/pidgin/gtkutils.c	Wed Apr 01 04:24:11 2009 +0000
+++ b/pidgin/gtkutils.c	Wed Apr 01 04:25:37 2009 +0000
@@ -2451,11 +2451,6 @@
 	dialog->callback = callback;
 	dialog->data = data;
 
-	if (dialog->icon_filesel != NULL) {
-		gtk_window_present(GTK_WINDOW(dialog->icon_filesel));
-		return NULL;
-	}
-
 	current_folder = purple_prefs_get_path(PIDGIN_PREFS_ROOT "/filelocations/last_icon_folder");
 #if GTK_CHECK_VERSION(2,4,0) /* FILECHOOSER */
 
@@ -3583,7 +3578,9 @@
 	if (tmp == NULL)
 		return FALSE;
 
+	g_free(tmp);
 	tmp = NULL;
+
 	if (!g_spawn_command_line_sync("gconftool-2 --all-dirs /desktop/gnome/url-handlers",
 	                               &tmp, &err, NULL, NULL))
 	{

mercurial