eeze/sensor: Free the hash table on shutdown. Leak--

Some bigger leak is still going on there with the module unloading. I swear that
was all non-leaking before. I had valgrind on it. :)

SVN revision: 77290
This commit is contained in:
Stefan Schmidt 2012-10-02 08:47:50 +00:00
parent 0d2fcf9837
commit 13110e7610
1 changed files with 2 additions and 0 deletions

View File

@ -231,6 +231,8 @@ void
eeze_sensor_shutdown(void)
{
eeze_sensor_modules_unload();
eina_hash_free(g_handle->modules);
g_handle->modules = NULL;
free(g_handle);
g_handle = NULL;