called during save (unlike the interface-specific message history, this data isn't saved and restored); end-of-game releases saved_plines[] while writing its contents to the final dump log */
| 49 | this data isn't saved and restored); end-of-game releases saved_plines[] |
| 50 | while writing its contents to the final dump log */ |
| 51 | void |
| 52 | dumplogfreemessages(void) |
| 53 | { |
| 54 | unsigned i; |
| 55 | |
| 56 | for (i = 0; i < DUMPLOG_MSG_COUNT; ++i) |
| 57 | if (gs.saved_plines[i]) |
| 58 | free((genericptr_t) gs.saved_plines[i]), gs.saved_plines[i] = 0; |
| 59 | gs.saved_pline_index = 0; |
| 60 | } |
| 61 | #endif |
| 62 | |
| 63 | /* keeps windowprocs usage out of pline() */ |