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

core: fix memleak of ipc_namespace_path

Fixup for a70581ffb5.
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32991
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2021-04-07 16:18:53 +02:00 committed by Luca Boccassi
parent 7f8225d21b
commit 71d1e58309
2 changed files with 1 additions and 0 deletions

View File

@ -4916,6 +4916,7 @@ void exec_context_done(ExecContext *c) {
c->stdin_data_size = 0;
c->network_namespace_path = mfree(c->network_namespace_path);
c->ipc_namespace_path = mfree(c->ipc_namespace_path);
c->log_namespace = mfree(c->log_namespace);

Binary file not shown.