Merge "Fix a 'memory leak'"

This commit is contained in:
Treehugger Robot
2018-06-05 23:29:10 +00:00
committed by Gerrit Code Review

View File

@@ -529,6 +529,7 @@ main(int argc, char** argv)
args[argpos++] = NULL;
execvp(args[0], (char*const*)args);
fprintf(stderr, "execvp failed: %s\n", strerror(errno));
free(args);
return 0;
} else {
// parent