remote.c: refactor match_explicit_refs()
[gitweb.git] / diff-delta.c
index 17757d2af9576f4a340c5dbd62d30b597140ddba..faf96e47130e3a2af26f55fc1173874f078617fc 100644 (file)
@@ -388,7 +388,7 @@ create_delta(const struct delta_index *index,
                                outsize = max_size + MAX_OP_SIZE + 1;
                        if (max_size && outpos > max_size)
                                break;
-                       out = xrealloc(out, outsize);
+                       out = realloc(out, outsize);
                        if (!out) {
                                free(tmp);
                                return NULL;