[Xfce4-commits] r30433 - xarchiver/trunk/src

Giuseppe Torelli colossus at xfce.org
Thu Aug 6 19:27:25 CEST 2009


Author: colossus
Date: 2009-08-06 17:27:25 +0000 (Thu, 06 Aug 2009)
New Revision: 30433

Modified:
   xarchiver/trunk/src/archive.c
Log:
Added a missed g_free in src/archive.c thanks to Ingo Brueckl for the oatch.


Modified: xarchiver/trunk/src/archive.c
===================================================================
--- xarchiver/trunk/src/archive.c	2009-08-05 15:38:06 UTC (rev 30432)
+++ xarchiver/trunk/src/archive.c	2009-08-06 17:27:25 UTC (rev 30433)
@@ -363,13 +363,14 @@
 
 	value = gtk_combo_box_get_active_text (GTK_COMBO_BOX(prefs_window->combo_prefered_temp_dir));
 	tmp_dir = g_strconcat(value,"/xa-XXXXXX",NULL);
+	g_free(value);
 
 	if (mkdtemp (tmp_dir) == 0)
 	{
 		g_free(tmp_dir);
 		tmp_dir = NULL;
 
-		response = xa_show_message_dialog (GTK_WINDOW (xa_main_window),GTK_DIALOG_MODAL,GTK_MESSAGE_ERROR,GTK_BUTTONS_OK,_("Can't create temporary directory in /tmp:"),g_strerror(errno));
+		response = xa_show_message_dialog (GTK_WINDOW (xa_main_window),GTK_DIALOG_MODAL,GTK_MESSAGE_ERROR,GTK_BUTTONS_OK,_("Can't create temporary directory:"),g_strerror(errno));
 		return FALSE;
 	}
 




More information about the Xfce4-commits mailing list