summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-01-29 14:18:28 +0100
committerJim Meyering <jim@meyering.net>2007-01-29 14:18:28 +0100
commit449a3751d1e00b383ff70f6ca4516bef58ce260d (patch)
tree651d51e5df4007c00a482f35e8722a37c7223b03 /ChangeLog
parente4eaba04dda577c401a07df0a56db2b03c809ee2 (diff)
downloadcoreutils-449a3751d1e00b383ff70f6ca4516bef58ce260d.tar.xz
Plug a leak in ls.
* src/ls.c (print_dir): Don't leak a "DIR"+fd upon failure to determine dev/inode or upon detecting a symlink loop.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a90e169dd..d0de2f44c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2007-01-29 Jim Meyering <jim@meyering.net>
+ Plug a leak in ls.
+ * src/ls.c (print_dir): Don't leak a "DIR"+fd upon failure to
+ determine dev/inode or upon detecting a symlink loop.
+
* src/ls.c: Rename three global variables.
(cwd_file): Rename from 'files'.
(cwd_n_alloc): Rename from 'nfiles'.