ARD: proper cleanup

This commit is contained in:
Robin Gareus 2014-06-15 20:41:20 +02:00
parent 8050712503
commit 4651530d6f
1 changed files with 1 additions and 0 deletions

View File

@ -189,6 +189,7 @@ int main(int argc, char **argv) {
if (parent_pid > 0 && kill (parent_pid, 0)) {
fprintf(stderr, "Given PID to watch is not running.\n");
free(name);
return EXIT_FAILURE;
}