summaryrefslogtreecommitdiff
path: root/legacy/eeze
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2012-10-02 08:47:50 +0000
committerStefan Schmidt <stefan@datenfreihafen.org>2012-10-02 08:47:50 +0000
commit13110e76101824b6df73d78bb5786af5b5a29585 (patch)
treeebbe4793fc0ce79e9c217c32aef8412c8d60f385 /legacy/eeze
parent0d2fcf9837994bda3b968f35276f132c0b2cf2cc (diff)
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
Diffstat (limited to 'legacy/eeze')
-rw-r--r--legacy/eeze/src/lib/eeze_sensor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/legacy/eeze/src/lib/eeze_sensor.c b/legacy/eeze/src/lib/eeze_sensor.c
index 91103b7dd7..7e1f6b28b4 100644
--- a/legacy/eeze/src/lib/eeze_sensor.c
+++ b/legacy/eeze/src/lib/eeze_sensor.c
@@ -231,6 +231,8 @@ void
231eeze_sensor_shutdown(void) 231eeze_sensor_shutdown(void)
232{ 232{
233 eeze_sensor_modules_unload(); 233 eeze_sensor_modules_unload();
234 eina_hash_free(g_handle->modules);
235 g_handle->modules = NULL;
234 free(g_handle); 236 free(g_handle);
235 g_handle = NULL; 237 g_handle = NULL;
236 238