entry: No need to free ptr returned by _elm_util_mkup_to_text

Summary:
This is revision over D2459

Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>

Reviewers: raster, Hermet, JackDanielZ

Subscribers: seoz, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2461
This commit is contained in:
Amitesh Singh 2015-05-18 13:31:27 +03:00 committed by Daniel Zaoui
parent 74f0424f3e
commit ea8838eb46
1 changed files with 1 additions and 7 deletions

View File

@ -3014,13 +3014,7 @@ _access_info_cb(void *data EINA_UNUSED, Evas_Object *obj)
txt = elm_widget_access_info_get(obj);
if (!txt)
{
char *ret, *ret2;
ret = _elm_util_mkup_to_text(elm_entry_entry_get(obj));
ret2 = strdup(ret);
free(ret);
return ret2;
}
return _elm_util_mkup_to_text(elm_entry_entry_get(obj));
else return strdup(txt);
}