diff --git a/src/conf.c b/src/conf.c index 432af9e1..910b0a8f 100644 --- a/src/conf.c +++ b/src/conf.c @@ -2070,7 +2070,7 @@ int config__read_file_core(struct mosquitto__config *config, bool reload, struct if(!strcmp(token, "\"\"") || token[0] == '#'){ remote_prefix = NULL; }else{ - remote_prefix = mosquitto__strdup(token); + remote_prefix = token; } } }