diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2017-10-26 10:42:25 -0700 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2017-10-26 10:42:25 -0700 |
commit | f75eb62c556d514c69fe66b4969cca64b9d35473 (patch) | |
tree | b4ce4510e25d1ae57e9636c6d0050a7517277c85 /src/lib/elementary | |
parent | 111caabf107bc032bf7432c152fd492a5295c6b0 (diff) |
elementary: don't forget to destroy weak ref when free the iterator.
Diffstat (limited to 'src/lib/elementary')
-rw-r--r-- | src/lib/elementary/elm_config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_config.c b/src/lib/elementary/elm_config.c index 2227e3be37..26cddfba46 100644 --- a/src/lib/elementary/elm_config.c +++ b/src/lib/elementary/elm_config.c | |||
@@ -5127,6 +5127,7 @@ _profile_iterator_get_container(Profile_Iterator *it) | |||
5127 | static void | 5127 | static void |
5128 | _profile_iterator_free(Profile_Iterator *it) | 5128 | _profile_iterator_free(Profile_Iterator *it) |
5129 | { | 5129 | { |
5130 | efl_wref_del(it->object, &it->object); | ||
5130 | eina_iterator_free(it->real_iterator); | 5131 | eina_iterator_free(it->real_iterator); |
5131 | elm_config_profile_list_free(it->list); | 5132 | elm_config_profile_list_free(it->list); |
5132 | free(it); | 5133 | free(it); |