Memory leaks, from Igor Wong in GitHub issue 1934.

This commit is contained in:
nicm
2019-10-14 08:38:07 +00:00
parent 4e2cc0ae2a
commit 68d59a16ce
3 changed files with 3 additions and 0 deletions

View File

@ -296,6 +296,7 @@ options_remove(struct options_entry *o)
else
options_value_free(o, &o->value);
RB_REMOVE(options_tree, &oo->tree, o);
free((void *)o->name);
free(o);
}