| 1090 | } |
| 1091 | |
| 1092 | void |
| 1093 | free_omonst(struct obj* otmp) |
| 1094 | { |
| 1095 | if (otmp->oextra) { |
| 1096 | struct monst *m = OMONST(otmp); |
| 1097 | |
| 1098 | if (m) { |
| 1099 | if (m->mextra) |
| 1100 | dealloc_mextra(m); |
| 1101 | free((genericptr_t) m); |
| 1102 | OMONST(otmp) = (struct monst *) 0; |
| 1103 | } |
| 1104 | } |
| 1105 | } |
| 1106 | |
| 1107 | void |
| 1108 | newomid(struct obj* otmp) |
nothing calls this directly
no test coverage detected