Skip to content

Commit

Permalink
Fix minor memory leak when load bridge prefixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed Apr 30, 2020
1 parent 4392320 commit ff2b111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
Expand Down

0 comments on commit ff2b111

Please sign in to comment.