plugin-manager: Clean up memory management.
commit043d3ab39c9155d3d10519d4bd66ae774cecd960
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>
Sun, 25 Nov 2012 20:19:08 +0000 (25 21:19 +0100)
committerSébastien Granjoux <seb.sfo@free.fr>
Thu, 29 Nov 2012 18:43:42 +0000 (29 19:43 +0100)
treeb54e42a5ac62965a706dfd8c9a5b0344580a1d0b
parentf84064f0297c2a5db02887a65c179054c46e4c39
plugin-manager: Clean up memory management.

1. Add a value destroy function to the activated_plugins and
   plugins_cache hash tables. Have the hash tables always owning one reference
   to the plugin.

2. Use g_hash_table_remove_all() and g_hash_table_destroy() instead of
   g_hash_table_foreach_remove().

https://bugzilla.gnome.org/show_bug.cgi?id=689054
libanjuta/anjuta-plugin-manager.c