Author: bart Date: 2008-02-24 18:29:43 +0000 (Sun, 24 Feb 2008) New Revision: 7447
Log: Fixed a memory leak. Modified: trunk/exp-drd/drd_semaphore.c Modified: trunk/exp-drd/drd_semaphore.c =================================================================== --- trunk/exp-drd/drd_semaphore.c 2008-02-24 18:29:10 UTC (rev 7446) +++ trunk/exp-drd/drd_semaphore.c 2008-02-24 18:29:43 UTC (rev 7447) @@ -157,7 +157,7 @@ { p->last_sem_post_tid = tid; thread_new_segment(tid); - vc_copy(&p->vc, thread_get_vc(tid)); + vc_assign(&p->vc, thread_get_vc(tid)); } } ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Valgrind-developers mailing list Valgrind-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-developers