mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-19 22:00:42 +01:00
Merge pull request #2727 from rgerhards/imfile-fix-double-free
imfile bugfix: double-free on module shutdown
This commit is contained in:
commit
03636846ba
@ -1876,8 +1876,6 @@ CODESTARTfreeCnf
|
||||
fs_node_destroy(pModConf->conf_tree);
|
||||
//move_list_destruct(pModConf);
|
||||
for(inst = pModConf->root ; inst != NULL ; ) {
|
||||
if(inst->startRegex != NULL)
|
||||
regfree(&inst->end_preg);
|
||||
free(inst->pszBindRuleset);
|
||||
free(inst->pszFileName);
|
||||
free(inst->pszTag);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user