diff options
author | pommicket <pommicket@gmail.com> | 2022-11-02 20:12:30 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-11-02 20:12:30 -0400 |
commit | 760526ec4071f9392e5bfca77b19cb20f98c588e (patch) | |
tree | aba49319680f0ddd430a85f743050d3529afcd10 /config.c | |
parent | 9d0433ba028792f5a468507dba28d406b9f758e7 (diff) |
settings bugfixes, :insert-text, and a memory bugfix
the memory bug existed in the last release!
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -787,7 +787,9 @@ void config_free(Ted *ted) { } for (u32 i = 0; i < ted->nstrings; ++i) { free(ted->strings[i]); + ted->strings[i] = NULL; } + ted->nstrings = 0; arr_clear(ted->all_settings); ted->default_settings = NULL; } |