diff options
-rw-r--r-- | runtime/wti.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/wti.c b/runtime/wti.c index c3fa127e..7029dcfd 100644 --- a/runtime/wti.c +++ b/runtime/wti.c @@ -233,7 +233,7 @@ wtiConstructFinalize(wti_t *pThis) /* we now alloc the array for user pointers. We obtain the max from the queue itself. */ CHKiRet(pThis->pWtp->pfGetDeqBatchSize(pThis->pWtp->pUsr, &iDeqBatchSize)); - CHKmalloc(pThis->batch.pElem = calloc((size_t)iDeqBatchSize, sizeof(batch_obj_t*))); + CHKmalloc(pThis->batch.pElem = calloc((size_t)iDeqBatchSize, sizeof(batch_obj_t))); finalize_it: RETiRet; |