[anjuta] run-program: Fix a crash when destroying the plugin



commit 1206d1f926c8953aecc94f2df8d6b3dee2ad1326
Author: SÃbastien Granjoux <seb sfo free fr>
Date:   Thu Nov 22 08:18:23 2012 +0100

    run-program: Fix a crash when destroying the plugin

 plugins/run-program/plugin.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/plugins/run-program/plugin.c b/plugins/run-program/plugin.c
index 7800ec4..04e70a1 100644
--- a/plugins/run-program/plugin.c
+++ b/plugins/run-program/plugin.c
@@ -389,8 +389,6 @@ run_plugin_finalize (GObject *obj)
 	g_list_free (self->recent_target);
 	g_list_foreach (self->recent_args, (GFunc)g_free, NULL);
 	g_list_free (self->recent_args);
-	g_list_foreach (self->recent_args, (GFunc)g_free, NULL);
-	g_list_free (self->recent_args);
 	g_list_foreach (self->recent_dirs, (GFunc)g_object_unref, NULL);
 	g_list_free (self->recent_dirs);
 	g_strfreev (self->environment_vars);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]