Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unpack_trees: plug leakage of o->result
Most of the time the caller specifies to which destination variable the resulting index_state should be assigned by passing a non-NULL pointer in o->dst_index to receive that state, but for a caller that gives a NULL o->dst_index, the resulting index simply leaked. Signed-off-by: Junio C Hamano <gitster@pobox.com>
- Loading branch information