fstab-generator: fix trivial leak
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 7 Jul 2014 22:36:03 +0000 (18:36 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 7 Jul 2014 22:36:55 +0000 (18:36 -0400)
src/fstab-generator/fstab-generator.c

index 1256a1c..418e8b1 100644 (file)
@@ -543,5 +543,7 @@ int main(int argc, char *argv[]) {
                 }
         }
 
+        free(arg_root_what);
+
         return r < 0 ? EXIT_FAILURE : EXIT_SUCCESS;
 }