зеркало из https://github.com/microsoft/git.git
Merge branch 'sb/line-log-plug-pairdiff-leak' into maint
* sb/line-log-plug-pairdiff-leak: line-log.c: fix a memleak
This commit is contained in:
Коммит
a379f25462
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче