summaryrefslogtreecommitdiff
path: root/src/bin/sources_view.c
diff options
context:
space:
mode:
authorFlavio Ceolin <flavio.ceolin@gmail.com>2014-09-18 18:40:50 -0300
committerFlavio Ceolin <flavio.ceolin@gmail.com>2014-09-18 18:40:50 -0300
commit94970e9e41529f5e0c78d108b7c319946e31e610 (patch)
tree73b54ec57d2fe2410d734fd3e63661c147870723 /src/bin/sources_view.c
parent15311693a04f19b9a782393c3475aa322f3913f2 (diff)
emixer: Fixing invalid pointer access
Diffstat (limited to '')
-rw-r--r--src/bin/sources_view.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/sources_view.c b/src/bin/sources_view.c
index 8bd883f..12b0f04 100644
--- a/src/bin/sources_view.c
+++ b/src/bin/sources_view.c
@@ -49,7 +49,10 @@ _source_removed_cb(void *data, int type EINA_UNUSED, void *info)
49 do 49 do
50 { 50 {
51 if (source == elm_object_item_data_get(item)) 51 if (source == elm_object_item_data_get(item))
52 elm_object_item_del(item); 52 {
53 elm_object_item_del(item);
54 break;
55 }
53 } 56 }
54 while ((item = elm_genlist_item_next_get(item))); 57 while ((item = elm_genlist_item_next_get(item)));
55 } 58 }