[grits] Fix bug in plugins unload



commit 81ca85b93ab38016c575678d0114282f5f1b3920
Author: Andy Spencer <andy753421 gmail com>
Date:   Thu Dec 27 10:10:48 2012 +0000

    Fix bug in plugins unload

 src/grits-plugin.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/grits-plugin.c b/src/grits-plugin.c
index 60b3bbd..12ca5ed 100644
--- a/src/grits-plugin.c
+++ b/src/grits-plugin.c
@@ -347,6 +347,7 @@ gboolean grits_plugins_unload(GritsPlugins *plugins, const char *name)
 		if (g_str_equal(store->name, name)) {
 			plugins->plugins = g_list_delete_link(plugins->plugins, cur);
 			grits_plugins_free_store(store);
+			break;
 		}
 	}
 	return FALSE;



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