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:
Chris Michael 2014-12-10 10:00:13 -05:00
parent e0864520d7
commit 7552bccc35
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}