Fix bad merging stage, drop extra free()