Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-svn.txt: stop using dash-form of commands.
[gitweb.git]
/
diff.c
diff --git
a/diff.c
b/diff.c
index aec613f85a567c6a3f28f4d79d134ee72b53510b..0a020ffab4dcfbd88fbee31bb3c84e336a67b17c 100644
(file)
--- a/
diff.c
+++ b/
diff.c
@@
-3596,6
+3596,7
@@
static char *run_textconv(const char *pgm, struct diff_filespec *spec,
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;