Please sign in to comment.
diff --no-index: don't leak buffers in queue_diff
queue_diff uses two strbufs, and at the end of the function strbuf_reset was called. This only reset the length of the buffer - any allocated memory was leaked. Using strbuf_release fixes this. Signed-off-by: Bobby Powers <firstname.lastname@example.org> Reviewed-by: René Scharfe <email@example.com> Signed-off-by: Junio C Hamano <firstname.lastname@example.org>
- Loading branch information