1
0
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:
Luca Boccassi 2024-08-07 22:35:52 +01:00 committed by Daan De Meyer
parent f548bc4011
commit 1e2aa88bb2

View File

@ -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);