Free up allocated memory. */
| 433 | |
| 434 | /* Free up allocated memory. */ |
| 435 | void |
| 436 | free_text_buffer(struct text_buffer *tb) |
| 437 | { |
| 438 | free(tb->text); |
| 439 | tb->text = (char *) 0; |
| 440 | tb->text_size = 0; |
| 441 | tb->text_last = 0; |
| 442 | tb->num_lines = 0; |
| 443 | } |
| 444 | |
| 445 | #ifdef GRAPHIC_TOMBSTONE |
| 446 |
no outgoing calls
no test coverage detected