From: Lennart Poettering Date: Fri, 25 Oct 2019 14:05:11 +0000 (+0200) Subject: analyze: fix minor memleak X-Git-Tag: v244-rc1~130 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=81610e9609c966a33dcff15a4f3b173aa8f07e4b;p=thirdparty%2Fsystemd.git analyze: fix minor memleak --- diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c index 1871a4363ef..2d541fe7017 100644 --- 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)); } }