Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
strbuf: add strbuf_add*_urlencode
[gitweb.git]
/
compat
/
qsort.c
diff --git
a/compat/qsort.c
b/compat/qsort.c
index d93dce2cf8fa33bd1fbefe131d2e41a6b954da61..9574d537bd38d3aa72ee040b106456088ee16a07 100644
(file)
--- a/
compat/qsort.c
+++ b/
compat/qsort.c
@@
-55,7
+55,7
@@
void git_qsort(void *b, size_t n, size_t s,
msort_with_tmp(b, n, s, cmp, buf);
} else {
/* It's somewhat large, so malloc it. */
- char *tmp = malloc(size);
+ char *tmp =
x
malloc(size);
msort_with_tmp(b, n, s, cmp, tmp);
free(tmp);
}