diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2010-08-10 20:25:20 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2010-08-10 20:25:56 -0700 |
commit | 9899e6cd853baf2704fdb52e55270ffbabd37dff (patch) | |
tree | 4e7d42c32ea90cb1409a7fb8c840dabbdca7dc04 /man/sha512sum.x | |
parent | 2050a5913b0ee2e08de22db29340865f7f0ee608 (diff) | |
download | coreutils-9899e6cd853baf2704fdb52e55270ffbabd37dff.tar.xz |
sort, who: prefer free+malloc to realloc when contents are irrelevant
This change was prompted by the previous one: I audited the code
looking for similar examples. Too bad valgrind doesn't catch this.
* src/sort.c (check, mergefps): xrealloc -> free + xmalloc
* src/who.c (print_user): Likewise.
Diffstat (limited to 'man/sha512sum.x')
0 files changed, 0 insertions, 0 deletions