Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Use --git-dir parameter instead of setting $ENV{'GIT_DIR'}
[gitweb.git]
/
diff-delta.c
diff --git
a/diff-delta.c
b/diff-delta.c
index 51e2e561772f490eb59f534a62754993bba2a743..fa16d06c8d1e85a458428c673cb2f589857f5424 100644
(file)
--- a/
diff-delta.c
+++ b/
diff-delta.c
@@
-392,7
+392,7
@@
create_delta(const struct delta_index *index,
outsize = max_size + MAX_OP_SIZE + 1;
if (max_size && outpos > max_size)
break;
- out = realloc(out, outsize);
+ out =
x
realloc(out, outsize);
if (!out) {
free(tmp);
return NULL;