summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2019-10-10 13:40:22 +0200
committerPatrick Steinhardt <ps@pks.im>2020-06-27 14:33:58 +0200
commita4803c3c5ae2d3e038d56fcfe52215bc2364521a (patch)
tree6a5c90c86bdff01294ab9bc293fbf28d25b5b368 /tests
parentfd2398b2fc09e3ae292fb33f2ec2a45b6bf8e3e9 (diff)
downloadlibgit2-a4803c3c5ae2d3e038d56fcfe52215bc2364521a.tar.gz
grafts: fix memory leak if replacing pre-existing graft
If replacing an already existing graft in the grafts map, then we need to free the previous `git_commit_graft` structure.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions