diff options
Diffstat (limited to 'object-file.c')
| -rw-r--r-- | object-file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/object-file.c b/object-file.c index 05ac6ebed6..c5994202ba 100644 --- a/object-file.c +++ b/object-file.c @@ -2953,6 +2953,7 @@ int read_loose_object(const char *path, if (unpack_loose_header(&stream, map, mapsize, hdr, sizeof(hdr), NULL) != ULHR_OK) { error(_("unable to unpack header of %s"), path); + git_inflate_end(&stream); goto out; } |
