pwdx: free memory before exit

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2012-02-05 20:44:39 +01:00
parent 8fe81caa42
commit c686e4c4dc

2
pwdx.c
View File

@ -129,6 +129,6 @@ int main(int argc, char *argv[])
printf("%s: %s\n", argv[i], s);
}
free(pathbuf);
return retval;
}