diff --git a/entry.c b/entry.c index ab79f1f69c892a47a9494f9ebf4f96a7084f6cea..637c5958b0a90554378a461d69df18c1ceab4ff6 100644 --- a/entry.c +++ b/entry.c @@ -283,6 +283,7 @@ static int write_entry(struct cache_entry *ce, if (dco && dco->state != CE_NO_DELAY) { /* Do not send the blob in case of a retry. */ if (dco->state == CE_RETRY) { + free(new); new = NULL; size = 0; }