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:
Stefan Schmidt 2012-12-19 09:28:02 +00:00
parent 3032a8554c
commit 8d956c8e99
1 changed files with 1 additions and 0 deletions

View File

@ -182,6 +182,7 @@ evas_bidi_segment_idxs_get(const Eina_Unicode *str, const char *delim)
if (!tmp_ret)
{
free(ret);
free(udelim);
return NULL;
}
ret = tmp_ret;