1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

analyze: fix minor memleak

This commit is contained in:
Lennart Poettering 2019-10-25 16:05:11 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent ea334dc328
commit 81610e9609

View 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));
}
}