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; }