mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-20 14:20:42 +01:00
regression fix: misadressing if worker thread was restarted
This commit is contained in:
parent
824b8c5d45
commit
8b6b121993
@ -355,6 +355,7 @@ dbgprintf("DDDD: wti %p: worker starting\n", pThis);
|
||||
if(pThis->actWrkrInfo[i].actWrkrData != NULL) {
|
||||
dbgprintf("DDDD: calling freeWrkrData!\n");
|
||||
pThis->actWrkrInfo[i].pAction->pMod->mod.om.freeWrkrInstance(pThis->actWrkrInfo[i].actWrkrData);
|
||||
pThis->actWrkrInfo[i].actWrkrData = NULL; /* re-init for next activation */
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user