evas_textblock_tests: do not free a text cursor here

the cur_obj would have been always dead at this point, as the textblock
was freed. This now moved the textcursor object to a previous point.
However, we could also remove the explicit cursor deletion...

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11596
This commit is contained in:
Marcel Hollerbach 2020-03-23 21:53:54 +01:00
parent 3bfb31c6fe
commit a4d7698492
1 changed files with 1 additions and 1 deletions

View File

@ -62,8 +62,8 @@ while (0)
do \
{ \
evas_textblock_cursor_free(cur); \
evas_object_del(tb); \
efl_del(cur_obj); \
evas_object_del(tb); \
evas_textblock_style_free(st); \
evas_free(evas); \
} \