X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=diff.c;h=c73a40b9ab3abe3e4a1ddd51a23a19be36b07ea4;hb=d09a0a3cb862ead8bb7eec30439cb0eed41e91e3;hp=c0548eed98df0fb6c11b04a775b6b64b3bb4d417;hpb=2b443e0fc336ad1576b07b28ddca5cfefe154a57;p=git.git diff --git a/diff.c b/diff.c index c0548eed9..c73a40b9a 100644 --- a/diff.c +++ b/diff.c @@ -463,6 +463,8 @@ void diff_free_filespec_data(struct diff_filespec *s) munmap(s->data, s->size); s->should_free = s->should_munmap = 0; s->data = NULL; + free(s->cnt_data); + s->cnt_data = NULL; } static void prep_temp_blob(struct diff_tempfile *temp,