projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91e2f7d
)
eina_test_file: Fix memory leak
author
Christopher Michael
<cp.michael@samsung.com>
Thu, 2 May 2019 11:40:31 +0000
(13:40 +0200)
committer
Hermet Park
<hermetpark@gmail.com>
Wed, 8 May 2019 04:30:08 +0000
(13:30 +0900)
Summary:
Coverity reports that we leak big_buffer here, so lets free it.
Fixes CID1401072
@fix
Reviewers: raster, cedric, zmike, bu5hm4n, segfaultxavi
Reviewed By: segfaultxavi
Subscribers: segfaultxavi, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8759
src/tests/eina/eina_test_file.c
patch
|
blob
|
history
diff --git
a/src/tests/eina/eina_test_file.c
b/src/tests/eina/eina_test_file.c
index
5a473a2
..
1fc7b23
100644
(file)
--- a/
src/tests/eina/eina_test_file.c
+++ b/
src/tests/eina/eina_test_file.c
@@
-430,8
+430,8
@@
EFL_START_TEST(eina_file_map_new_test)
free(test_file_path);
free(test_file2_path);
+ free(big_buffer);
eina_tmpstr_del(test_dirname);
-
}
EFL_END_TEST