summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2019-09-17 09:35:43 -0400
committerChris Michael <cp.michael@samsung.com>2019-09-17 09:35:43 -0400
commit2d9fd1a827d5c1a7d2036de799b7f98ce25bfc6b (patch)
tree855a6b88063065719eb78b1ae89e9980c55b5f74 /src/tests
parent21c7f95d0829ff484f04e622c724fc1134bdcf21 (diff)
tests/ecore_wl2: Fix resource leak
Small patch to fix resource leak pointed out by Coverity Fixes Coverity CID1403883
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/ecore_wl2/ecore_wl2_test_display.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/ecore_wl2/ecore_wl2_test_display.c b/src/tests/ecore_wl2/ecore_wl2_test_display.c
index b499d21df3..7f6f4cc9df 100644
--- a/src/tests/ecore_wl2/ecore_wl2_test_display.c
+++ b/src/tests/ecore_wl2/ecore_wl2_test_display.c
@@ -159,6 +159,8 @@ EFL_START_TEST(wl2_display_inputs_get)
159 159
160 itr = ecore_wl2_display_inputs_get(disp); 160 itr = ecore_wl2_display_inputs_get(disp);
161 ck_assert(itr != NULL); 161 ck_assert(itr != NULL);
162
163 eina_iterator_free(itr);
162} 164}
163EFL_END_TEST 165EFL_END_TEST
164 166