13
0

ARD: proper cleanup

This commit is contained in:
Robin Gareus 2014-06-15 20:41:20 +02:00
parent 8050712503
commit 4651530d6f

View File

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