diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/settings.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/settings.c b/src/core/settings.c index 1361a10e..42bb5e53 100644 --- a/src/core/settings.c +++ b/src/core/settings.c @@ -331,6 +331,7 @@ struct settings * autovivify_child_settings ( struct settings *parent, &new_child->autovivified.refcnt ); settings = &new_child->autovivified.generic.settings; register_settings ( settings, parent, new_child->name ); + ref_put ( settings->refcnt ); return settings; } |