forked from enlightenment/efl
ecore-drm: Fix usage of EINA_LIST_FREE
Summary: When we exit the backlight_init function, we should stringshare_del the returned device strings from eeze properly @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
e0864520d7
commit
7552bccc35
|
@ -270,8 +270,8 @@ cont:
|
|||
}
|
||||
|
||||
out:
|
||||
EINA_LIST_FREE(devs, device);
|
||||
eina_stringshare_del(device);
|
||||
EINA_LIST_FREE(devs, device)
|
||||
eina_stringshare_del(device);
|
||||
|
||||
return backlight;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue