Fix minor valgrind issues
- Fix valgrind invalid write of 1 byte. - Fix a few plugin related memory leaks.
This commit is contained in:
@@ -100,6 +100,8 @@ static struct log_data* parse_config(const char* line, struct plugin_handle* plu
|
||||
token = cfg_token_get_next(tokens);
|
||||
}
|
||||
|
||||
cfg_tokens_free(tokens);
|
||||
|
||||
if (data->logmode == mode_file)
|
||||
{
|
||||
if ((data->logmode == mode_file && !data->logfile))
|
||||
|
||||
Reference in New Issue
Block a user