author | Liu Yuan <tailai.ly@taobao.com> | |
Thu, 10 Nov 2011 08:39:22 +0000 (16:39 +0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 10 Nov 2011 17:04:08 +0000 (09:04 -0800) | ||
commit | cd9519bd2c5c666cfb3ec219ee0b47c83f26f3fe | |
tree | 2d16084aae0f522a201cb9842aced987e1560c79 | tree | snapshot |
parent | d52bc66152834dff3fb5f32a54f6ed57730f58c6 | commit | diff |
mktree: fix a memory leak in write_tree()
We forget to call strbuf_release to release the buf memory.
Signed-off-by: Liu Yuan <tailai.ly@taobao.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
We forget to call strbuf_release to release the buf memory.
Signed-off-by: Liu Yuan <tailai.ly@taobao.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
mktree.c | diff | blob | history |