aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Michael <cp.michael@samsung.com>2019-05-02 13:43:57 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-05-02 13:43:57 +0200
commitcf2071744cb647227d3e53caedc8fc34cc2ba5ad (patch)
tree948d296380002280efec4edf6445dd711fda960f
parentemile_test_base64: Fix resource leak (diff)
downloadefl-cf2071744cb647227d3e53caedc8fc34cc2ba5ad.tar.gz
evas_test_mesh: Fix memory leak
Summary: Coverity reports that we leak file_mask variable here (storage returned from strdup), so lets free the variable before we exit the test Fixes CID1401009 @fix Depends on https://phab.enlightenment.org/D8763 Reviewers: raster, cedric, zmike, bu5hm4n, segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8764
-rw-r--r--src/tests/evas/evas_test_mesh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/evas/evas_test_mesh.c b/src/tests/evas/evas_test_mesh.c
index aba03730b5..d5777ed174 100644
--- a/src/tests/evas/evas_test_mesh.c
+++ b/src/tests/evas/evas_test_mesh.c
@@ -169,6 +169,7 @@ EFL_START_TEST(evas_object_mesh_loader_saver)
unlink(tmp);
+ free(file_mask);
evas_free(e);
}
EFL_END_TEST