summaryrefslogtreecommitdiffstats
path: root/src/fstab-generator/fstab-generator.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-07-08 00:36:03 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-07-08 00:36:55 +0200
commit126cc76074b763c7de9edec848fb86b22e8a78ef (patch)
treec73d66f689acbdce9cbaf649919f3a241930c6f0 /src/fstab-generator/fstab-generator.c
parentREADME: add liblz4 (diff)
downloadsystemd-126cc76074b763c7de9edec848fb86b22e8a78ef.tar.xz
systemd-126cc76074b763c7de9edec848fb86b22e8a78ef.zip
fstab-generator: fix trivial leak
Diffstat (limited to 'src/fstab-generator/fstab-generator.c')
-rw-r--r--src/fstab-generator/fstab-generator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fstab-generator/fstab-generator.c b/src/fstab-generator/fstab-generator.c
index 1256a1ce53..418e8b171d 100644
--- a/src/fstab-generator/fstab-generator.c
+++ b/src/fstab-generator/fstab-generator.c
@@ -543,5 +543,7 @@ int main(int argc, char *argv[]) {
}
}
+ free(arg_root_what);
+
return r < 0 ? EXIT_FAILURE : EXIT_SUCCESS;
}