1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-09 12:58:26 +03:00

execute: free syscall_log hashmap when done

Fixes #35394
This commit is contained in:
David Tardon 2024-11-28 13:33:55 +01:00 committed by Mike Yuan
parent ca10784ac1
commit c3dc460b6c

View File

@ -672,6 +672,7 @@ void exec_context_done(ExecContext *c) {
c->syscall_filter = hashmap_free(c->syscall_filter);
c->syscall_archs = set_free(c->syscall_archs);
c->syscall_log = hashmap_free(c->syscall_log);
c->address_families = set_free(c->address_families);
FOREACH_ARRAY(d, c->directories, _EXEC_DIRECTORY_TYPE_MAX)