mirror of
https://github.com/git/git
synced 2024-08-26 19:19:18 +00:00
Merge branch 'sb/line-log-plug-pairdiff-leak'
* sb/line-log-plug-pairdiff-leak: line-log.c: fix a memleak
This commit is contained in:
commit
8ff1ddd717
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue