summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3ef67cf)
raw | patch | inline | side by side (parent: 3ef67cf)
author | Johannes Sixt <j6t@kdbg.org> | |
Mon, 8 Jun 2009 20:34:30 +0000 (22:34 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 9 Jun 2009 04:19:26 +0000 (21:19 -0700) |
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c | patch | blob | history |
index d24bff1e465d5b5e486ab461bd0548387736f109..f0b580c1503147d093d928915ead2c5f88a0042b 100644 (file)
--- a/diff.c
+++ b/diff.c
if (start_command(&child) != 0 ||
strbuf_read(&buf, child.out, 0) < 0 ||
finish_command(&child) != 0) {
+ strbuf_release(&buf);
remove_tempfile();
error("error running textconv command '%s'", pgm);
return NULL;