forked from enlightenment/efl
efl/evas_bidi: Fix memleak.
Make sure we also free udelmin when we retrun from from the for loop early. SVN revision: 81334
This commit is contained in:
parent
3032a8554c
commit
8d956c8e99
|
@ -182,6 +182,7 @@ evas_bidi_segment_idxs_get(const Eina_Unicode *str, const char *delim)
|
||||||
if (!tmp_ret)
|
if (!tmp_ret)
|
||||||
{
|
{
|
||||||
free(ret);
|
free(ret);
|
||||||
|
free(udelim);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
ret = tmp_ret;
|
ret = tmp_ret;
|
||||||
|
|
Loading…
Reference in New Issue