grafts.c
5.03 KB
-
grafts: fix memory leak if replacing pre-existing graft · a4803c3c
If replacing an already existing graft in the grafts map, then we need to free the previous `git_commit_graft` structure.
Patrick Steinhardt committed
If replacing an already existing graft in the grafts map, then we need to free the previous `git_commit_graft` structure.