diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-05-13 14:05:56 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-05-13 14:05:56 -0700 |
commit | a379f25462639eb95b05133c84374558a23bc7b0 (patch) | |
tree | bb5087a3668b2c18af771f69399731fd3fae6053 /line-log.c | |
parent | 071e93a14844f474d313eec1a035816192616889 (diff) | |
parent | 05bfc7dcaa0e99e045c326e2887dba24e58266d8 (diff) | |
download | git-a379f25462639eb95b05133c84374558a23bc7b0.tar.gz |
Merge branch 'sb/line-log-plug-pairdiff-leak' into maint
* sb/line-log-plug-pairdiff-leak:
line-log.c: fix a memleak
Diffstat (limited to 'line-log.c')
-rw-r--r-- | line-log.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/line-log.c b/line-log.c index a9ce0147b7..a5ed9e3642 100644 --- a/line-log.c +++ b/line-log.c @@ -1099,6 +1099,7 @@ static int process_all_files(struct line_log_data **range_out, rg->pair = diff_filepair_dup(queue->queue[i]); memcpy(&rg->diff, pairdiff, sizeof(struct diff_ranges)); } + free(pairdiff); } return changed; |