forked from enlightenment/efl
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:
parent
77b2e63002
commit
2dc790bf47
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue