Summary:
There is no effect of assingning a variable while clean up.
@fix
Reviewers: raster, cedric
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D5272
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
if (!evas_bidi_is_rtl_str(eina_ustr) &&
(base_bidi != EVAS_BIDI_PARAGRAPH_RTL))
{
- len = -1;
goto cleanup;
}
char_types = (EvasBiDiCharType *) malloc(sizeof(EvasBiDiCharType) * len);
if (!char_types)
{
- len = -2;
goto cleanup;
}
fribidi_get_bidi_types(ustr, len, char_types);
embedding_levels = (EvasBiDiLevel *)malloc(sizeof(EvasBiDiLevel) * len);
if (!embedding_levels)
{
- len = -2;
goto cleanup;
}
&direction,
embedding_levels + pos))
{
- len = -2;
goto cleanup;
}
&direction,
embedding_levels + pos))
{
- len = -2;
goto cleanup;
}
if (!fribidi_get_par_embedding_levels(char_types, len,
&bidi_props->direction, embedding_levels))
{
- len = -2;
goto cleanup;
}
}