diff options
-rw-r--r-- | options/m_property.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/options/m_property.c b/options/m_property.c index b5f9025617..1beaf83402 100644 --- a/options/m_property.c +++ b/options/m_property.c @@ -461,6 +461,7 @@ int m_property_strdup_ro(int action, void* arg, const char *var) // This does not support write access. int m_property_read_sub(const struct m_sub_property *props, int action, void *arg) { + m_property_unkey(&action, &arg); switch (action) { case M_PROPERTY_GET_TYPE: *(struct m_option *)arg = (struct m_option){.type = CONF_TYPE_NODE}; |