summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2013-06-27 09:43:08 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2013-06-27 09:43:08 +0100
commit42e838545a9311795621e7775e06ec1751c9e265 (patch)
treeebb6bf9afe9d46304b7ee8c2fb95956337225ec6
parent267b9e4c293976d3966c75f448f85cee5f4be1b2 (diff)
edje_entry: Fix memory leak in _edje_entry_imf_event_preedit_changed_cb
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.
-rw-r--r--src/lib/edje/edje_entry.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/edje/edje_entry.c b/src/lib/edje/edje_entry.c
index f82cccf414..d25329d244 100644
--- 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
4280 en->pw_timer = ecore_timer_add 4280 en->pw_timer = ecore_timer_add
4281 (TO_DOUBLE(_edje_password_show_last_timeout), 4281 (TO_DOUBLE(_edje_password_show_last_timeout),
4282 _password_timer_cb, en); 4282 _password_timer_cb, en);
4283 free(info);
4283 } 4284 }
4284 } 4285 }
4285 else 4286 else