Fix minor memory leak when load bridge prefixes.

pull/1694/head
Roger A. Light 5 years ago
parent 4392320bc3
commit ff2b111cb3

@ -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;
}
}
}

Loading…
Cancel
Save