diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-05-05 21:00:25 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-05-05 21:00:25 -0700 |
commit | 8ff1ddd71731d42e349bacdf515cefa021c4aa03 (patch) | |
tree | 1d33f833e20db8012f8229c94383ffaf9bda72f4 /line-log.c | |
parent | 03761c922bf938ae4d22c62eda712c8ff0c1a8d7 (diff) | |
parent | 05bfc7dcaa0e99e045c326e2887dba24e58266d8 (diff) | |
download | git-8ff1ddd71731d42e349bacdf515cefa021c4aa03.tar.gz |
Merge branch 'sb/line-log-plug-pairdiff-leak'
* 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 a490efea07..b43ac58698 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; |