From fbb040b411ee564e4a4bbaf53ec342236929324f Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 12 May 2009 15:58:11 +0200 Subject: one astrisk too much - and we have a segfault... - fixed ;) --- runtime/wti.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/wti.c') 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; -- cgit