From 0c6de5da3adfdffc4c01030ba344f6657e5af2e2 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Sat, 28 Mar 2015 09:48:21 +0000 Subject: [PATCH] Re-apply r5053, which got lost in r5079. git-svn-id: https://svn.eduke32.com/eduke32@5104 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/mdsprite.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/polymer/eduke32/build/src/mdsprite.c b/polymer/eduke32/build/src/mdsprite.c index 40bbdb900..9e4e71fd8 100644 --- a/polymer/eduke32/build/src/mdsprite.c +++ b/polymer/eduke32/build/src/mdsprite.c @@ -551,6 +551,8 @@ int32_t md_undefinetile(int32_t tile) tile2model[tile].modelid = -1; tile2model[tile].nexttile = -1; + DO_FREE_AND_NULL(tile2model[tile].hudmem[0]); + DO_FREE_AND_NULL(tile2model[tile].hudmem[1]); return 0; }