|
From: <sv...@va...> - 2008-02-24 18:29:39
|
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));
}
}
|