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

Function free_omailcmd

util/sfctool.c:1131–1138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1129}
1130
1131void
1132free_omailcmd(struct obj* otmp)
1133{
1134 if (otmp->oextra && OMAILCMD(otmp)) {
1135 free((genericptr_t) OMAILCMD(otmp));
1136 OMAILCMD(otmp) = (char *) 0;
1137 }
1138}
1139
1140static const struct oextra zerooextra = DUMMY;
1141

Callers 1

new_omailcmdFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected