diff --git a/source/libublsettings-config.c b/source/libublsettings-config.c index bef68b2..9436623 100644 --- a/source/libublsettings-config.c +++ b/source/libublsettings-config.c @@ -2064,7 +2064,7 @@ int yon_config_custom_swap(yon_config_custom **target){ int yon_config_custom_apply(yon_config_custom **target){ yon_config_clean(); - if (target){ + if (*target){ __yon__config__strings = ((yon_config_parameter *)*target)->first; } *target=NULL;