[anjuta] git: Properly free file monitors



commit 6ac2df75bf77caff8fe945aa3d4c87c232397944
Author: James Liggett <jrliggett cox net>
Date:   Sat Jul 4 18:34:04 2009 -0700

    git: Properly free file monitors

 plugins/git/plugin.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/git/plugin.c b/plugins/git/plugin.c
index cd1435c..083e11a 100644
--- a/plugins/git/plugin.c
+++ b/plugins/git/plugin.c
@@ -585,6 +585,8 @@ on_project_root_removed (AnjutaPlugin *plugin, const gchar *name,
 	g_file_monitor_cancel (git_plugin->log_refresh_monitor);
 	
 	g_object_unref (git_plugin->bisect_file_monitor);
+	g_object_unref (git_plugin->log_branch_refresh_monitor);
+	g_object_unref (git_plugin->log_refresh_monitor);
 }
 
 static void



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