summaryrefslogtreecommitdiffstats
path: root/runtime/wti.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/wti.c')
-rw-r--r--runtime/wti.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/wti.c b/runtime/wti.c
index a9154670..bbefc537 100644
--- a/runtime/wti.c
+++ b/runtime/wti.c
@@ -355,7 +355,11 @@ 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);
+ free(pThis->actWrkrInfo[i].iparams);
pThis->actWrkrInfo[i].actWrkrData = NULL; /* re-init for next activation */
+ pThis->actWrkrInfo[i].iparams = NULL;
+ pThis->actWrkrInfo[i].currIParam = 0;
+ pThis->actWrkrInfo[i].maxIParams = 0;
}
}