Skip to content
Snippets Groups Projects
Commit a379f254 authored by Junio C Hamano's avatar Junio C Hamano
Browse files

Merge branch 'sb/line-log-plug-pairdiff-leak' into maint

* sb/line-log-plug-pairdiff-leak:
  line-log.c: fix a memleak
parents 071e93a1 05bfc7dc
Branches
Tags
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment