diff options
author | Jim Meyering <jim@meyering.net> | 2003-05-12 14:51:02 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-05-12 14:51:02 +0000 |
commit | 17adb8367a31578eb97214af99d5358d5ffb4a46 (patch) | |
tree | 678e8abfc0da09b44af19a959d63b0a0fd1d403d /lib | |
parent | e55a05cecf577a7fe52113521c45fc3cf7246fc1 (diff) | |
download | coreutils-17adb8367a31578eb97214af99d5358d5ffb4a46.tar.xz |
(ftw_startup): Always call free_cwd after restore_cwd.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ftw.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); } |