To clarify that we aren't freeing the choices structure, just the
buffers associated with it.
| ... | ... |
@@ -24,7 +24,7 @@ typedef struct {
|
| 24 | 24 |
|
| 25 | 25 |
void choices_init(choices_t *c); |
| 26 | 26 |
void choices_fread(choices_t *c, FILE *file); |
| 27 |
-void choices_free(choices_t *c); |
|
| 27 |
+void choices_destroy(choices_t *c); |
|
| 28 | 28 |
void choices_add(choices_t *c, const char *choice); |
| 29 | 29 |
size_t choices_available(choices_t *c); |
| 30 | 30 |
void choices_search(choices_t *c, const char *search); |