projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0141417
)
Efl.Observable: Free an iterator after use in observers_update()
author
Sungtaek Hong
<sth253.hong@samsung.com>
Fri, 30 Jun 2017 04:29:44 +0000
(13:29 +0900)
committer
Jeeyong Um
<conr2d@gmail.com>
Fri, 30 Jun 2017 04:32:23 +0000
(13:32 +0900)
Summary:
- In _efl_observable_observers_update() iterator is allocated but not freed.
- This frees the iterator.
@fix
Reviewers: conr2d, jpeg
Reviewed By: jpeg
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4994
src/lib/efl/interfaces/efl_observer.c
patch
|
blob
|
history
diff --git
a/src/lib/efl/interfaces/efl_observer.c
b/src/lib/efl/interfaces/efl_observer.c
index
2d4a20b
..
c7efc30
100644
(file)
--- a/
src/lib/efl/interfaces/efl_observer.c
+++ b/
src/lib/efl/interfaces/efl_observer.c
@@
-180,6
+180,8
@@
_efl_observable_observers_update(Eo *obj, Efl_Observable_Data *pd EINA_UNUSED, c
{
efl_observer_update(o, obj, key, data);
}
+
+ eina_iterator_free(it);
}
typedef struct