[anjuta] subversion: Free the checkout command object in IAnjutaVcs::checkout



commit de9b68b9ae5c0e59237a3238847e55f474f70dd1
Author: James Liggett <jrliggett cox net>
Date:   Sun Aug 9 14:51:19 2009 -0700

    subversion: Free the checkout command object in IAnjutaVcs::checkout

 plugins/subversion/subversion-vcs-interface.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plugins/subversion/subversion-vcs-interface.c b/plugins/subversion/subversion-vcs-interface.c
index 76c7e45..0309f5f 100755
--- a/plugins/subversion/subversion-vcs-interface.c
+++ b/plugins/subversion/subversion-vcs-interface.c
@@ -95,6 +95,10 @@ subversion_ivcs_checkout (IAnjutaVcs *obj,
 	g_signal_connect (G_OBJECT (checkout_command), "data-arrived",
 					  G_CALLBACK (on_command_info_arrived),
 					  plugin);
+
+	g_signal_connect (G_OBJECT (checkout_command), "command-finished",
+	                  G_CALLBACK (g_object_unref),
+	                  NULL);
 	
 	if (cancel)
 	{



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