summaryrefslogtreecommitdiffstats
path: root/m_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'm_config.c')
-rw-r--r--m_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/m_config.c b/m_config.c
index 5b8dc77ba7..8181ddac37 100644
--- a/m_config.c
+++ b/m_config.c
@@ -333,7 +333,7 @@ static void m_config_add_option(struct m_config *config,
// Target data in optstruct is supposed to be cleared (consider
// m_option freeing previously set dynamic data).
optstruct_set(config, arg, arg->defval);
- } else if (!arg->new && (arg->type->flags & M_OPT_TYPE_DYNAMIC)) {
+ } else if (arg->type->flags & M_OPT_TYPE_DYNAMIC) {
// Initialize dynamically managed fields from static data (like
// string options): copy the option into temporary memory,
// clear the original option (to void m_option freeing the