diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-07-08 00:36:03 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-07-08 00:36:55 +0200 |
commit | 126cc76074b763c7de9edec848fb86b22e8a78ef (patch) | |
tree | c73d66f689acbdce9cbaf649919f3a241930c6f0 /src/fstab-generator/fstab-generator.c | |
parent | README: add liblz4 (diff) | |
download | systemd-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.c | 2 |
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; } |