summaryrefslogtreecommitdiff
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
parent3bfb31c6fe5c999046fae094b25db6e15e99f2c1 (diff)
downloadefl-a4d76984921ead32439b19ece0edcf1e6037937c.tar.gz
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
-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)
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); \
} \