Ecore imf: Free the module list on shutdown.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 23 Oct 2011 12:01:36 +0000 (12:01 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 23 Oct 2011 12:01:36 +0000 (12:01 +0000)
Freeing the content (using eina_module_list_free) is not enough, we need
to also free the array itself.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@64326 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_imf/ecore_imf_module.c

index b6b59ee..946f5bc 100644 (file)
@@ -51,6 +51,7 @@ ecore_imf_module_shutdown(void)
    if (module_list)
      {
         eina_module_list_free(module_list);
+        eina_array_free(module_list);
         module_list = NULL;
      }
 }