projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2207b1
)
should decrease ec's ref_count when removing ec from post_updates
64/48064/2
author
Boram Park
<boram1288.park@samsung.com>
Sat, 12 Sep 2015 09:36:27 +0000
(18:36 +0900)
committer
Boram Park
<boram1288.park@samsung.com>
Sat, 12 Sep 2015 10:29:35 +0000
(19:29 +0900)
because we increase ec's ref_count when adding ec to post_updates.
Change-Id: I44e47edfc031ba93ce0b67be9e5ad689db5fc97b
src/bin/e_comp_canvas.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_canvas.c
b/src/bin/e_comp_canvas.c
index
8d7ab68
..
3b118fb
100644
(file)
--- a/
src/bin/e_comp_canvas.c
+++ b/
src/bin/e_comp_canvas.c
@@
-638,6
+638,9
@@
e_comp_post_update_purge(E_Client *ec)
EINA_LIST_FOREACH_SAFE(e_comp->post_updates, l, ll, ec2)
{
if (ec2 == ec)
- e_comp->post_updates = eina_list_remove_list(e_comp->post_updates, l);
+ {
+ e_comp->post_updates = eina_list_remove_list(e_comp->post_updates, l);
+ e_object_unref(E_OBJECT(ec));
+ }
}
}