diff options
author | Jim Meyering <jim@meyering.net> | 2006-11-13 15:19:22 +0100 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-11-13 15:19:22 +0100 |
commit | 2061f0484753bb8de0fb9dd5821ee983ceda2e23 (patch) | |
tree | cc74dda2df1e94a9a5f90c779b0231aa5d2286d2 /ChangeLog | |
parent | d5d00c7f9f2fc1bd43c1ef682e44117ff661ad01 (diff) | |
download | coreutils-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-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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. |