Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Fourth batch
[gitweb.git]
/
diff-delta.c
diff --git
a/diff-delta.c
b/diff-delta.c
index e49643353bf56807b3d4ac4011784b5d8dd6f7a4..77fea08dfb04d3a6ec12e11dbd321084d9028722 100644
(file)
--- a/
diff-delta.c
+++ b/
diff-delta.c
@@
-326,6
+326,8
@@
create_delta(const struct delta_index *index,
const unsigned char *ref_data, *ref_top, *data, *top;
unsigned char *out;
+ *delta_size = 0;
+
if (!trg_buf || !trg_size)
return NULL;