summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-03-20 13:21:19 -0400
committerCedric Bail <cedric@osg.samsung.com>2018-03-20 17:20:57 -0700
commitbc18b7e7ad1f8c5d587400b27fabab0865017011 (patch)
treea1365096909e90abc2616d4000974ab389bfc086 /src/tests
parent168849e8a08966ecc284e28f64126a3a85965965 (diff)
efl: replace efl_del with efl_unref for cases where no parent exists
Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/eo/suite/eo_test_general.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/eo/suite/eo_test_general.c b/src/tests/eo/suite/eo_test_general.c
index 169db5b889..a9cba7d449 100644
--- a/src/tests/eo/suite/eo_test_general.c
+++ b/src/tests/eo/suite/eo_test_general.c
@@ -656,7 +656,7 @@ START_TEST(efl_refs)
656 fail_if(!efl_invalidated_get(obj3)); 656 fail_if(!efl_invalidated_get(obj3));
657 657
658 efl_unref(obj); 658 efl_unref(obj);
659 efl_del(obj2); 659 efl_unref(obj2);
660 efl_unref(obj3); 660 efl_unref(obj3);
661 661
662 /* Setting and removing parents for add_ref */ 662 /* Setting and removing parents for add_ref */
@@ -681,7 +681,7 @@ START_TEST(efl_refs)
681 fail_if(!efl_invalidated_get(obj3)); 681 fail_if(!efl_invalidated_get(obj3));
682 682
683 efl_unref(obj); 683 efl_unref(obj);
684 efl_del(obj2); 684 efl_unref(obj2);
685 efl_unref(obj3); 685 efl_unref(obj3);
686 686
687 /* Just check it doesn't seg atm. */ 687 /* Just check it doesn't seg atm. */