efl_ui_test_widget: Fix memory leak

Summary:
Coverity reports that we leak the eina_array 'a' here, so add a call
to eina_array_free before we exit

Fixes CID1401003

@fix
Depends on D8765

Reviewers: raster, cedric, zmike, bu5hm4n, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8766
This commit is contained in:
Christopher Michael 2019-05-02 13:45:38 +02:00 committed by Xavi Artigas
parent ae61295e9a
commit 5434b4fcf0
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ EFL_START_TEST(efl_ui_test_widget_parent_iterator)
}
eina_iterator_free(it);
ck_assert_int_eq(eina_array_count(a), 0);
eina_array_free(a);
}
EFL_END_TEST