analyze: fix minor memleak
authorLennart Poettering <lennart@poettering.net>
Fri, 25 Oct 2019 14:05:11 +0000 (16:05 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 30 Oct 2019 14:50:37 +0000 (15:50 +0100)
src/analyze/analyze.c

index 1871a43..2d541fe 100644 (file)
@@ -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));
         }
 }