Oversight, do not free the data yet vres_Free() does it already at the end.

This commit is contained in:
Nev3r 2019-12-11 15:16:56 +01:00
parent 4d3ec6db41
commit 222336ac0b

View file

@ -7200,7 +7200,6 @@ void P_SpawnSpecials(INT32 fromnetsave)
I_Error("Make-Your-Own-FOF (tag %d) needs a value in the linedef's second side upper texture field.", lines[i].tag); I_Error("Make-Your-Own-FOF (tag %d) needs a value in the linedef's second side upper texture field.", lines[i].tag);
} }
} }
Z_Free(data);
} }
else else
I_Error("Make-Your-Own FOF (tag %d) found without a 2nd linedef side!", lines[i].tag); I_Error("Make-Your-Own FOF (tag %d) found without a 2nd linedef side!", lines[i].tag);