summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-12-21 12:54:17 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-12-21 12:54:17 (GMT)
commit0cfcbee3c536ac6d11ec806d47ce4c136f695697 (patch)
treeffe4164a1337922e66c2ed024eeb6d407ab76d59 /src/main.c
parentcf9ea46a796000f0252bb7d80c0ac0fb170e156a (diff)
Unloaded loaded plugins and (started to) avoid memory leaks.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@307 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 8612b1d..9efc94d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -164,6 +164,8 @@ int main(int argc, char **argv)
gtk_main();
gdk_threads_leave();
+ exit_all_plugins();
+
exit_global_pango_context();
unload_configuration(config);