diff options
author | Bobby Powers <bobbypowers@gmail.com> | 2012-05-16 10:50:31 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-05-16 11:18:06 -0700 |
commit | 176a33542eddc6e319bfef4ca726813ce0b9af55 (patch) | |
tree | 1ee4eec4f0a849c6181c5082e2f2dc88c8ba616b /t | |
parent | diff --no-index: reset temporary buffer lengths on directory iteration (diff) | |
download | tgif-176a33542eddc6e319bfef4ca726813ce0b9af55.tar.xz |
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 <bobbypowers@gmail.com>
Reviewed-by: René Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions