[anjuta] am-project: Fix a crash in regression test 1



commit f322c6746b65b9e11780f249af18b02dc00b6f01
Author: SÃbastien Granjoux <seb sfo free fr>
Date:   Sat Apr 7 22:37:54 2012 +0200

    am-project: Fix a crash in regression test 1

 plugins/am-project/am-project.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/am-project/am-project.c b/plugins/am-project/am-project.c
index 93c97e4..48589a5 100644
--- a/plugins/am-project/am-project.c
+++ b/plugins/am-project/am-project.c
@@ -611,6 +611,7 @@ amp_project_update_root (AmpProject *project, AmpProject *new_project)
 	project->configure_file = new_project->configure_file;
 	new_project->configure_file = NULL;
 	project->configure_token = new_project->configure_token;
+	new_project->configure_token = NULL;
 
 	hash = project->groups;
 	project->groups = new_project->groups;



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