elm_test_widget_focus: Fix memory leak

Summary:
Coverity reports that we leak the 'map' hash here, so lets add a call
to free the hash

Fixes CID1401069

@fix

Depends on D8760

Reviewers: raster, cedric, zmike, bu5hm4n, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8761
This commit is contained in:
Christopher Michael 2019-05-02 13:43:04 +02:00 committed by Xavi Artigas
parent 2d94748133
commit 9bf322a30b
1 changed files with 2 additions and 0 deletions

View File

@ -205,6 +205,8 @@ EFL_START_TEST(elm_test_widget_focus_simple_widget)
ck_assert_int_eq(elm_object_focus_get(resettor), EINA_TRUE);
ck_assert_int_eq(elm_object_focus_get(o), EINA_FALSE);
}
eina_hash_free(map);
}
EFL_END_TEST