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:
267b9e4
)
edje_entry: Fix memory leak in _edje_entry_imf_event_preedit_changed_cb
author
Stefan Schmidt
<s.schmidt@samsung.com>
Thu, 27 Jun 2013 08:43:08 +0000
(09:43 +0100)
committer
Stefan Schmidt
<s.schmidt@samsung.com>
Thu, 27 Jun 2013 08:43:08 +0000
(09:43 +0100)
info is only local and we are going out of scope after allocating memory
for it. As we are going out of scope anyway we can safely free it before.
src/lib/edje/edje_entry.c
patch
|
blob
|
history
diff --git
a/src/lib/edje/edje_entry.c
b/src/lib/edje/edje_entry.c
index
f82cccf
..
d25329d
100644
(file)
--- a/
src/lib/edje/edje_entry.c
+++ b/
src/lib/edje/edje_entry.c
@@
-4280,6
+4280,7
@@
_edje_entry_imf_event_preedit_changed_cb(void *data, Ecore_IMF_Context *ctx EINA
en->pw_timer = ecore_timer_add
(TO_DOUBLE(_edje_password_show_last_timeout),
_password_timer_cb, en);
+ free(info);
}
}
else