Skip to content

Commit

Permalink
Merge branch 'sb/line-log-plug-pairdiff-leak' into maint
Browse files Browse the repository at this point in the history
* sb/line-log-plug-pairdiff-leak:
  line-log.c: fix a memleak
  • Loading branch information
gitster committed May 13, 2015
2 parents 071e93a + 05bfc7d commit a379f25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions line-log.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a379f25

Please sign in to comment.