summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-11-13 15:19:22 +0100
committerJim Meyering <jim@meyering.net>2006-11-13 15:19:22 +0100
commit2061f0484753bb8de0fb9dd5821ee983ceda2e23 (patch)
treecc74dda2df1e94a9a5f90c779b0231aa5d2286d2 /ChangeLog
parentd5d00c7f9f2fc1bd43c1ef682e44117ff661ad01 (diff)
downloadcoreutils-2061f0484753bb8de0fb9dd5821ee983ceda2e23.tar.xz
Plug another technically-unimportant leak in sort.
* src/sort.c (main): Don't allocate memory for each new key here. (insertkey): Allocate memory for each key here, instead. (key_init): Rename from new_key. Don't allocate.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 33558767e..e737ee173 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2006-11-13 Jim Meyering <jim@meyering.net>
+ Plug another technically-unimportant leak in sort.
+ * src/sort.c (main): Don't allocate memory for each new key here.
+ (insertkey): Allocate memory for each key here, instead.
+ (key_init): Rename from new_key. Don't allocate.
+
* src/sort.c (main): Plug a tiny memory leak.
Move declaration of local "minus" down to be nearer point of use.