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

Function free_omailcmd

src/mkobj.c:166–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166void
167free_omailcmd(struct obj *otmp)
168{
169 if (otmp->oextra && OMAILCMD(otmp)) {
170 free((genericptr_t) OMAILCMD(otmp));
171 OMAILCMD(otmp) = (char *) 0;
172 }
173}
174
175/* can object be generated eroded? */
176staticfn boolean

Callers 1

new_omailcmdFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected