diff options
author | stefan <stefan> | 2012-10-02 08:47:50 +0000 |
---|---|---|
committer | stefan <stefan@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33> | 2012-10-02 08:47:50 +0000 |
commit | 37041b53bf29b4151a4acd55706a58965530d23c (patch) | |
tree | fda69103b6c634e860255fe08c8b88113d41ac99 | |
parent | 8a6cda59b543b2f4c957d7540c1c37c0bf5b8b82 (diff) | |
download | eeze-37041b53bf29b4151a4acd55706a58965530d23c.tar.gz eeze-37041b53bf29b4151a4acd55706a58965530d23c.tar.bz2 eeze-37041b53bf29b4151a4acd55706a58965530d23c.zip |
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. :)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eeze@77290 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
-rw-r--r-- | src/lib/eeze_sensor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/eeze_sensor.c b/src/lib/eeze_sensor.c index 91103b7..7e1f6b2 100644 --- a/src/lib/eeze_sensor.c +++ b/src/lib/eeze_sensor.c @@ -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; |