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 896c18045a
This commit is contained in:
Carsten Haitzler 2015-10-10 10:45:30 +09:00
parent 2fc00da9fa
commit 55e49f12bf
1 changed files with 1 additions and 2 deletions

View File

@ -48,8 +48,7 @@ udev_shutdown(void)
{
char *data;
EINA_LIST_FREE(devices, data)
free(data);
EINA_LIST_FREE(devices, data) eina_stringshare_del(data);
return EINA_TRUE;
}