summaryrefslogtreecommitdiff
path: root/src/modules/eeze
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-10-10 10:45:30 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-10-10 10:45:30 +0900
commit55e49f12bf6af2e608d0e34f4452fac0ffe31f4c (patch)
tree2d913778940b124cb2a2654b7a772f9873bde53e /src/modules/eeze
parent2fc00da9fae273312a4f5b5cf837f11efaa93392 (diff)
fix tom's fix by nmot making e segfault EVERY EXIT
when fixing something like a leak .. it might be good to fix it to not CRASH 100% of the time. a leak (minor) is better than a crash by far. the strings in the list are stringshared. fixes 896c18045aafb9c677d8d41b4876c47db2b4d5ce
Diffstat (limited to 'src/modules/eeze')
-rw-r--r--src/modules/eeze/sensor/udev/udev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/eeze/sensor/udev/udev.c b/src/modules/eeze/sensor/udev/udev.c
index cf52cd349f..8025dfe3fd 100644
--- a/src/modules/eeze/sensor/udev/udev.c
+++ b/src/modules/eeze/sensor/udev/udev.c
@@ -48,8 +48,7 @@ udev_shutdown(void)
48{ 48{
49 char *data; 49 char *data;
50 50
51 EINA_LIST_FREE(devices, data) 51 EINA_LIST_FREE(devices, data) eina_stringshare_del(data);
52 free(data);
53 52
54 return EINA_TRUE; 53 return EINA_TRUE;
55} 54}