diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | runtime/wti.c | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -1,5 +1,6 @@ --------------------------------------------------------------------------- Version 8.1.1 [devel] 2013-11-?? +- bugfix: memory leak on worker thread termination - bugfix: potential segfault in omfile under heavy load Thanks to Pavel Levshin for alerting us. - bugfix: mmsequence: instance mode did not work 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; } } |