commit bed1b1e4ce924930965f5369a5b45d1c93a44a3d parent 736a64ef010ca844b6afc0c71ccef9e4e3b18df9 Author: phoebos <ben@bvnf.space> Date: Thu, 10 Mar 2022 03:20:05 +0000 pwd: missing free Diffstat:
M | pwd.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/pwd.c b/pwd.c @@ -60,6 +60,7 @@ flag_P: tmp = getcwd(buf, size); if (tmp == NULL && errno != ERANGE) { perror("pwd"); + free(buf); return 1; } }