diff options
author | Patrick Steinhardt <ps@pks.im> | 2019-10-10 13:40:22 +0200 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2020-06-27 14:33:58 +0200 |
commit | a4803c3c5ae2d3e038d56fcfe52215bc2364521a (patch) | |
tree | 6a5c90c86bdff01294ab9bc293fbf28d25b5b368 /tests | |
parent | fd2398b2fc09e3ae292fb33f2ec2a45b6bf8e3e9 (diff) | |
download | libgit2-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