coverity: #1425884

free allocated memory Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent 0add718c
...@@ -280,6 +280,7 @@ int do_mkfs_exec_wrapper(void *args) ...@@ -280,6 +280,7 @@ int do_mkfs_exec_wrapper(void *args)
TRACE("executing \"%s %s\"", mkfs, data[1]); TRACE("executing \"%s %s\"", mkfs, data[1]);
execlp(mkfs, mkfs, data[1], (char *)NULL); execlp(mkfs, mkfs, data[1], (char *)NULL);
SYSERROR("failed to run \"%s %s \"", mkfs, data[1]); SYSERROR("failed to run \"%s %s \"", mkfs, data[1]);
free(mkfs);
return -1; return -1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment