Commit fef2b6d
merge-ort: clean up after failed merge
In 9fefce6 (merge-ort: basic outline for merge_switch_to_result(),
2020-12-13), we added functionality to lay down the result of a merge on
disk. But we forgot to release the data structures in case
`unpack_trees()` failed to run properly.
This was pointed out by the `linux-leaks` job in our CI runs.
Signed-off-by: Johannes Schindelin <[email protected]>
Reviewed-by: Elijah Newren <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent 359da65 commit fef2b6d
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4225 | 4225 | | |
4226 | 4226 | | |
4227 | 4227 | | |
| 4228 | + | |
4228 | 4229 | | |
4229 | 4230 | | |
4230 | 4231 | | |
| |||
4235 | 4236 | | |
4236 | 4237 | | |
4237 | 4238 | | |
| 4239 | + | |
4238 | 4240 | | |
4239 | 4241 | | |
4240 | 4242 | | |
| |||
0 commit comments