summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib/canvas/evas_events.c
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2012-10-26 12:23:35 +0000
committerChunEon Park <hermet@hermet.pe.kr>2012-10-26 12:23:35 +0000
commit7f3040823784cc5272bc3edcfa15c260e1055943 (patch)
tree2ba65b78a8ae11672d1d6babfbd2f3dbf77c6789 /legacy/evas/src/lib/canvas/evas_events.c
parentaefbd16dea20ae66781598720ad173dd421b7124 (diff)
evas/event - fixed memory leak in multi move
SVN revision: 78528
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/lib/canvas/evas_events.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_events.c b/legacy/evas/src/lib/canvas/evas_events.c
index c78f7be5a1..805adc0556 100644
--- a/legacy/evas/src/lib/canvas/evas_events.c
+++ b/legacy/evas/src/lib/canvas/evas_events.c
@@ -2009,7 +2009,7 @@ _canvas_event_feed_multi_move(Eo *eo_e, void *_pd, va_list *list)
2009 ev.event_flags = e->default_event_flags; 2009 ev.event_flags = e->default_event_flags;
2010 ev.dev = _evas_device_top_get(eo_e); 2010 ev.dev = _evas_device_top_get(eo_e);
2011 if (ev.dev) _evas_device_ref(ev.dev); 2011 if (ev.dev) _evas_device_ref(ev.dev);
2012 2012
2013 copy = evas_event_list_copy(e->pointer.object.in); 2013 copy = evas_event_list_copy(e->pointer.object.in);
2014 EINA_LIST_FOREACH(copy, l, eo_obj) 2014 EINA_LIST_FOREACH(copy, l, eo_obj)
2015 { 2015 {
@@ -2037,6 +2037,7 @@ _canvas_event_feed_multi_move(Eo *eo_e, void *_pd, va_list *list)
2037 } 2037 }
2038 if (e->delete_me || e->is_frozen) break; 2038 if (e->delete_me || e->is_frozen) break;
2039 } 2039 }
2040 eina_list_free(copy);
2040 _evas_post_event_callback_call(eo_e, e); 2041 _evas_post_event_callback_call(eo_e, e);
2041 if (ev.dev) _evas_device_unref(ev.dev); 2042 if (ev.dev) _evas_device_unref(ev.dev);
2042 } 2043 }