From 1b4bf7e5738590d9e4d7a780ad523f26d2f779eb Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Sat, 24 Dec 2011 07:44:07 +0000 Subject: [PATCH] maybe prevent a leak but probably not SVN revision: 66492 --- src/bin/e_backlight.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/e_backlight.c b/src/bin/e_backlight.c index ff73277c5..332e147fa 100644 --- a/src/bin/e_backlight.c +++ b/src/bin/e_backlight.c @@ -254,7 +254,10 @@ _bl_sys_find(void) if (!devs) return; } EINA_LIST_FREE(devs, f) - bl_sysval = f; + { + eina_stringshare_replace(&bl_sysval, NULL); + bl_sysval = f; + } } static void