forked from enlightenment/efl
Check that the Textblock_Line exists first before trying to free or else segv
SVN revision: 19903
This commit is contained in:
parent
50d3d7649f
commit
e70d9a0a03
|
@ -421,7 +421,7 @@ _line_free(Evas_Object *obj, Evas_Object_Textblock_Line *ln)
|
|||
if (fi->item) evas_stringshare_del(fi->item);
|
||||
free(fi);
|
||||
}
|
||||
free(ln);
|
||||
if (ln) free(ln);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue