summaryrefslogtreecommitdiff
path: root/src/fstab-generator
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-07-07 18:36:03 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-07-07 18:36:55 -0400
commit126cc76074b763c7de9edec848fb86b22e8a78ef (patch)
treec73d66f689acbdce9cbaf649919f3a241930c6f0 /src/fstab-generator
parenta509e0e6946aee5c3dd51bc3a6f40d0a623c9e2c (diff)
fstab-generator: fix trivial leak
Diffstat (limited to 'src/fstab-generator')
-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;
}