edje_entry: Fix resource leak.

Reviewers: Jaehyun_Cho, Hermet, ali.alzyod

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10854
This commit is contained in:
Woochanlee 2019-12-11 15:49:44 +09:00 committed by Jaehyun Cho
parent 3359e03500
commit 6830414e95
1 changed files with 1 additions and 0 deletions

View File

@ -4750,6 +4750,7 @@ _edje_entry_imf_retrieve_surrounding_cb(void *data, Ecore_IMF_Context *ctx EINA_
}
*itr = 0;
free(plain_text);
plain_text = strdup(u_text);
free(u_text);
u_text = NULL;