From: Sami Kerola Date: Sun, 5 Feb 2012 19:44:39 +0000 (+0100) Subject: pwdx: free memory before exit X-Git-Tag: v3.3.3~104 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c686e4c4dcd7f80ea3f98e7723a58abb3d0a895f;p=procps-ng pwdx: free memory before exit Signed-off-by: Sami Kerola --- diff --git a/pwdx.c b/pwdx.c index 3d8b71f7..681397d0 100644 --- a/pwdx.c +++ b/pwdx.c @@ -129,6 +129,6 @@ int main(int argc, char *argv[]) printf("%s: %s\n", argv[i], s); } - + free(pathbuf); return retval; }