diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-04-08 23:31:27 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-04-08 23:31:51 -0700 |
commit | 7ec1eb93f779d06efac106cd1998410932f3c9b2 (patch) | |
tree | 5c6ca3d326b0ccb8cc09064306bb3a591d7b3349 /diff.c | |
parent | dcc30eb2c780f009af36f87d6c4ff484eeec5bec (diff) | |
parent | aed6ca52e73a35d0aac9aba7d631e09983e46a6f (diff) | |
download | git-7ec1eb93f779d06efac106cd1998410932f3c9b2.tar.gz |
Merge early parts of jk/cached-textconv
Diffstat (limited to 'diff.c')
-rw-r--r-- | diff.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -551,6 +551,10 @@ static void emit_rewrite_diff(const char *name_a, emit_rewrite_lines(&ecbdata, '-', data_one, size_one); if (lc_b) emit_rewrite_lines(&ecbdata, '+', data_two, size_two); + if (textconv_one) + free((char *)data_one); + if (textconv_two) + free((char *)data_two); } struct diff_words_buffer { |