Fix invalid memory access and handle leak in Fix_Free / Junction_Point patches.