summaryrefslogtreecommitdiff
path: root/src/tests/evas
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-03-23 21:53:54 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-03-25 22:13:25 +0100
commita4d76984921ead32439b19ece0edcf1e6037937c (patch)
treed1b039937dc675cf7a527be875801a166142bcbf /src/tests/evas
parent3bfb31c6fe5c999046fae094b25db6e15e99f2c1 (diff)
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
Diffstat (limited to 'src/tests/evas')
-rw-r--r--src/tests/evas/evas_test_textblock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/evas/evas_test_textblock.c b/src/tests/evas/evas_test_textblock.c
index 4de3477fb2..79d69a6104 100644
--- a/src/tests/evas/evas_test_textblock.c
+++ b/src/tests/evas/evas_test_textblock.c
@@ -62,8 +62,8 @@ while (0)
62do \ 62do \
63{ \ 63{ \
64 evas_textblock_cursor_free(cur); \ 64 evas_textblock_cursor_free(cur); \
65 evas_object_del(tb); \
66 efl_del(cur_obj); \ 65 efl_del(cur_obj); \
66 evas_object_del(tb); \
67 evas_textblock_style_free(st); \ 67 evas_textblock_style_free(st); \
68 evas_free(evas); \ 68 evas_free(evas); \
69} \ 69} \