projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b391c8b
)
(keycompare): call alloca(0) after each iteration
author
Jim Meyering
<jim@meyering.net>
Sat, 8 Nov 1997 04:47:17 +0000
(
04:47
+0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 8 Nov 1997 04:47:17 +0000
(
04:47
+0000)
src/sort.c
patch
|
blob
|
history
diff --git
a/src/sort.c
b/src/sort.c
index
70b970a
..
c2d0844
100644
(file)
--- a/
src/sort.c
+++ b/
src/sort.c
@@
-1684,8
+1684,12
@@
keycompare (const struct line *a, const struct line *b)
diff = strcoll (copy_a, copy_b);
+ /* Free copy_a and copy_b. */
+ alloca (0);
+
if (diff)
return key->reverse ? -diff : diff;
+
continue;
}
#endif