Free storage for growable string */
| 41 | |
| 42 | /* Free storage for growable string */ |
| 43 | void str_free(struct gstr *gs) |
| 44 | { |
| 45 | if (gs->s) |
| 46 | free(gs->s); |
| 47 | gs->s = NULL; |
| 48 | gs->len = 0; |
| 49 | } |
| 50 | |
| 51 | /* Append to growable string */ |
| 52 | void str_append(struct gstr *gs, const char *s) |
no outgoing calls
no test coverage detected