another MONITOR_HEAP bit
'heaputil' complains about free(NULL) because that wasn't handled consistently back in the pre-standard days. Avoid using that.
This commit is contained in:
@@ -1184,8 +1184,8 @@ themerooms_post_level_generate(void)
|
|||||||
iflags.in_lua = gi.in_mk_themerooms = FALSE;
|
iflags.in_lua = gi.in_mk_themerooms = FALSE;
|
||||||
|
|
||||||
wallification(1, 0, COLNO - 1, ROWNO - 1);
|
wallification(1, 0, COLNO - 1, ROWNO - 1);
|
||||||
free(gc.coder);
|
if (gc.coder)
|
||||||
gc.coder = NULL;
|
free(gc.coder), gc.coder = NULL;
|
||||||
lua_gc(themes, LUA_GCCOLLECT);
|
lua_gc(themes, LUA_GCCOLLECT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user