summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/til_settings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/til_settings.c b/src/til_settings.c
index 46224ef..62f63e1 100644
--- a/src/til_settings.c
+++ b/src/til_settings.c
@@ -345,7 +345,7 @@ void til_settings_reset_descs(til_settings_t *settings)
assert(settings);
for (unsigned i = 0; i < settings->num; i++)
- settings->entries[i]->desc = NULL;
+ settings->entries[i]->desc = til_setting_desc_free(settings->entries[i]->desc);
}
© All Rights Reserved