[Cxplorer-cvs 01054] CVS update: cxplorer/src

Back to archive index

Yasumichi Akahoshi yasum****@users*****
2005年 4月 20日 (水) 00:22:03 JST


Index: cxplorer/src/cxplorer-window.c
diff -u cxplorer/src/cxplorer-window.c:1.28 cxplorer/src/cxplorer-window.c:1.29
--- cxplorer/src/cxplorer-window.c:1.28	Tue Apr 19 23:47:08 2005
+++ cxplorer/src/cxplorer-window.c	Wed Apr 20 00:22:03 2005
@@ -570,7 +570,7 @@
 
 
 	cmd_format = cxp_profile_get_string (private->profile, "AttachCommand");
-	if((fullpath = cxp_right_pane_get_active_file_name (CXP_RIGHT_PANE(private->right_pane))) != NULL)
+	if ((fullpath = cxp_right_pane_get_active_file_name (CXP_RIGHT_PANE(private->right_pane))) != NULL)
 	{
 		cmd = g_strdup_printf(cmd_format, fullpath);
 		g_print("%s\n", cmd);
@@ -587,8 +587,10 @@
 		}
 		
 		g_free(fullpath);
+		g_free(cmd);
 	}
-	g_free(cmd);
+
+	g_free (cmd_format);
 }
 
 /**


Cxplorer-cvs メーリングリストの案内
Back to archive index