Skip to content

Fix double free occuring when unloading the intermission patches

SteelT requested to merge intermission-double-free-fix into next

Crashes occurred because Y_UnloadData would unload the same patch twice, which was the result of Y_SetNullBonus copying "MISSING" to bstruct->patch, thus making the same patch be assigned to two different variables when caching the patch.

Merge request reports

Loading