mirror of
https://github.com/systemd/systemd.git
synced 2025-01-09 01:18:19 +03:00
nspawn: fix settings leak for init parameter
Fixes https://github.com/systemd/systemd/issues/33960
Follow-up for ce2291730d
This commit is contained in:
parent
f548bc4011
commit
1e2aa88bb2
@ -122,6 +122,7 @@ Settings* settings_free(Settings *s) {
|
||||
if (!s)
|
||||
return NULL;
|
||||
|
||||
free(s->init);
|
||||
strv_free(s->parameters);
|
||||
strv_free(s->environment);
|
||||
free(s->user);
|
||||
|
Loading…
Reference in New Issue
Block a user