regression fix: misadressing if worker thread was restarted

This commit is contained in:
Rainer Gerhards 2013-11-14 12:42:55 +01:00
parent 824b8c5d45
commit 8b6b121993

View File

@ -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 */
}
}