aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Michael <cp.michael@samsung.com>2019-05-02 13:48:11 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-05-02 13:48:11 +0200
commit25505c1431f27645e1fa2882253a0a6333c01948 (patch)
tree4beddbe5a94242a00c1374b5e5f2f01cea070efc
parentecore_test_ecore_file: Fix resource leak (diff)
downloadefl-25505c1431f27645e1fa2882253a0a6333c01948.tar.gz
efl_ui_test_widget: Fix resource leak
Summary: Coverity reports that we leak the variable 'a' here so lets add a call to eina_array_free Fixes CID1400824 @fix Depends on https://phab.enlightenment.org/D8778 Reviewers: raster, cedric, zmike, bu5hm4n, segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8779
-rw-r--r--src/tests/elementary/efl_ui_test_widget.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/elementary/efl_ui_test_widget.c b/src/tests/elementary/efl_ui_test_widget.c
index f9e45ad79f..00e5293eff 100644
--- a/src/tests/elementary/efl_ui_test_widget.c
+++ b/src/tests/elementary/efl_ui_test_widget.c
@@ -149,6 +149,7 @@ EFL_START_TEST(efl_ui_test_widget_iterator)
}
eina_iterator_free(it);
ck_assert_int_eq(eina_array_count(a), 0);
+ eina_array_free(a);
}
EFL_END_TEST