|
From: <sv...@va...> - 2008-05-14 12:33:17
|
Author: sewardj
Date: 2008-05-14 13:33:21 +0100 (Wed, 14 May 2008)
New Revision: 8081
Log:
Merge r7299 (fix sizeof bug in Helgrind)
Modified:
branches/VALGRIND_3_3_BRANCH/helgrind/hg_main.c
Modified: branches/VALGRIND_3_3_BRANCH/helgrind/hg_main.c
===================================================================
--- branches/VALGRIND_3_3_BRANCH/helgrind/hg_main.c 2008-05-14 12:27:16 UTC (rev 8080)
+++ branches/VALGRIND_3_3_BRANCH/helgrind/hg_main.c 2008-05-14 12:33:21 UTC (rev 8081)
@@ -582,7 +582,7 @@
static Thread* mk_Thread ( SegmentID csegid ) {
static Int indx = 1;
- Thread* thread = hg_zalloc( sizeof(Lock) );
+ Thread* thread = hg_zalloc( sizeof(Thread) );
thread->locksetA = HG_(emptyWS)( univ_lsets );
thread->locksetW = HG_(emptyWS)( univ_lsets );
thread->csegid = csegid;
|