evas/bidi: Make sure we access the correct memory here.

Without that it would crash as we just freed it and assigned the realloc
code to tmp_ret.

SVN revision: 80863
This commit is contained in:
Stefan Schmidt 2012-12-13 14:17:33 +00:00
parent 77b2e63002
commit 2dc790bf47
1 changed files with 1 additions and 0 deletions

View File

@ -184,6 +184,7 @@ evas_bidi_segment_idxs_get(const Eina_Unicode *str, const char *delim)
free(ret);
return NULL;
}
ret = tmp_ret;
}
ret[ret_idx++] = str - str_base;
break;