seoz pushed a commit to branch master.
commit b3dc61648b5a1a65ba1af59216a6b0f0517a920c
Author: Daniel Juyung Seo <[email protected]>
Date: Tue May 21 01:25:02 2013 +0900
elm_diskselector.c: fixed potential bug of diskselector.
set the variable to NULL after freeing the list.
---
src/lib/elm_diskselector.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/elm_diskselector.c b/src/lib/elm_diskselector.c
index 3a5230e..d3406ae 100644
--- a/src/lib/elm_diskselector.c
+++ b/src/lib/elm_diskselector.c
@@ -1409,7 +1409,7 @@ _elm_diskselector_smart_del(Eo *obj, void *_pd, va_list
*list EINA_UNUSED)
_item_del(it);
elm_widget_item_free(it);
}
- eina_list_free(sd->r_items);
+ sd->r_items = eina_list_free(sd->r_items);
if (sd->scroller_move_idle_enterer)
{
--
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d