fstab-generator: free all allocated strings

This commit is contained in:
Lennart Poettering 2014-12-09 02:22:44 +01:00
parent 68ac53e62f
commit 59cfa62f20
1 changed files with 6 additions and 0 deletions

View File

@ -617,6 +617,12 @@ int main(int argc, char *argv[]) {
}
free(arg_root_what);
free(arg_root_fstype);
free(arg_root_options);
free(arg_usr_what);
free(arg_usr_fstype);
free(arg_usr_options);
return r < 0 ? EXIT_FAILURE : EXIT_SUCCESS;
}