projects
/
platform
/
core
/
system
/
dlog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dfd004
)
unit tests: fix a minor leak
author
Michal Bloch
<m.bloch@samsung.com>
Mon, 13 Mar 2023 16:40:17 +0000
(17:40 +0100)
committer
Michal Bloch
<m.bloch@samsung.com>
Thu, 23 Mar 2023 13:18:24 +0000
(14:18 +0100)
Change-Id: I021efcad0ee56fee4a1af8be568635a45ab6df7c
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
src/tests/test_logger_compressed_storage.c
patch
|
blob
|
history
diff --git
a/src/tests/test_logger_compressed_storage.c
b/src/tests/test_logger_compressed_storage.c
index
514261e
..
e926fc2
100644
(file)
--- a/
src/tests/test_logger_compressed_storage.c
+++ b/
src/tests/test_logger_compressed_storage.c
@@
-468,6
+468,7
@@
static size_t get_good_size_miniz() {
unsigned char *const buffer = malloc(out_size);
mz_compress(buffer, &out_size, (const unsigned char *) good_compressible_input, sizeof good_compressible_input);
+ free(buffer);
return out_size;
}