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;
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Valgrind-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-developers