1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-04 15:49:42 +02:00

(ftw_startup): Always call free_cwd after restore_cwd.

This commit is contained in:
Jim Meyering
2003-05-12 14:51:02 +00:00
parent e55a05cecf
commit 17adb8367a
+1
View File
@@ -813,6 +813,7 @@ ftw_startup (const char *dir, int is_nftw, NFTW_FUNC_T func, int descriptors,
save_err = errno;
result = -1;
}
free_cwd (&cwd);
__set_errno (save_err);
}