mirror of
https://github.com/git/git.git
synced 2024-10-28 12:59:41 +01:00
Merge branch 'mh/commit-reach-get-reachable-plug-leak'
Plug memory leak. * mh/commit-reach-get-reachable-plug-leak: commit-reach: fix memory leak in get_reachable_subset()
This commit is contained in:
commit
693bde461c
1 changed files with 2 additions and 0 deletions
|
@ -944,6 +944,8 @@ struct commit_list *get_reachable_subset(struct commit **from, int nr_from,
|
|||
}
|
||||
}
|
||||
|
||||
clear_prio_queue(&queue);
|
||||
|
||||
clear_commit_marks_many(nr_to, to, PARENT1);
|
||||
clear_commit_marks_many(nr_from, from, PARENT2);
|
||||
|
||||
|
|
Loading…
Reference in a new issue