projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea334dc
)
analyze: fix minor memleak
author
Lennart Poettering
<lennart@poettering.net>
Fri, 25 Oct 2019 14:05:11 +0000
(16:05 +0200)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Wed, 30 Oct 2019 14:50:37 +0000
(15:50 +0100)
src/analyze/analyze.c
patch
|
blob
|
history
diff --git
a/src/analyze/analyze.c
b/src/analyze/analyze.c
index
1871a43
..
2d541fe
100644
(file)
--- a/
src/analyze/analyze.c
+++ b/
src/analyze/analyze.c
@@
-1713,7
+1713,7
@@
static void kernel_syscalls_remove(Set *s, const SyscallFilterSet *set) {
if (syscall[0] == '@')
continue;
-
(void) set_remove(s, syscall
);
+
free(set_remove(s, syscall)
);
}
}