MCPcopy Create free account
hub / github.com/NetHack/NetHack / dealloc_monst

Function dealloc_monst

util/sfctool.c:1186–1192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1184}
1185
1186void
1187dealloc_monst(struct monst* mon)
1188{
1189 if (mon->mextra)
1190 dealloc_mextra(mon);
1191 free((genericptr_t) mon);
1192}
1193
1194/* allocate space for an object's name; removes old name if there is one */
1195void

Callers

nothing calls this directly

Calls 1

dealloc_mextraFunction · 0.70

Tested by

no test coverage detected