diff --git a/pwait.c b/pwait.c index 63c1d15..ca2cafb 100644 --- a/pwait.c +++ b/pwait.c @@ -300,5 +300,6 @@ usage: close_and_exit: close(sk_nl); + free(pids); return rc; }