|
From: <sv...@va...> - 2007-12-12 13:46:01
|
Author: sewardj
Date: 2007-12-12 11:42:33 +0000 (Wed, 12 Dec 2007)
New Revision: 7299
Log:
Fix stupid error spotted by by Konstantin Serebryany.
Modified:
trunk/helgrind/hg_main.c
Modified: trunk/helgrind/hg_main.c
===================================================================
--- trunk/helgrind/hg_main.c 2007-12-12 03:16:52 UTC (rev 7298)
+++ trunk/helgrind/hg_main.c 2007-12-12 11:42:33 UTC (rev 7299)
@@ -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;
|