]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Revert "nspawn: fix settings leak for init parameter"
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 22 Aug 2024 20:20:36 +0000 (22:20 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 22 Aug 2024 20:20:36 +0000 (22:20 +0200)
This reverts commit 1e2aa88bb238299cd982f9e3f14812a6c7211d31.

src/nspawn/nspawn-settings.c

index 836b4471c9d25edba93b6e126e6628e8ce38a7f4..132a54338f740b0dd40801329c05874f266af0c7 100644 (file)
@@ -122,7 +122,6 @@ Settings* settings_free(Settings *s) {
         if (!s)
                 return NULL;
 
-        free(s->init);
         strv_free(s->parameters);
         strv_free(s->environment);
         free(s->user);