]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Follow-up for r11073: added missing segment creation statement.
authorBart Van Assche <bvanassche@acm.org>
Sun, 7 Mar 2010 18:39:33 +0000 (18:39 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sun, 7 Mar 2010 18:39:33 +0000 (18:39 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11075

drd/drd_hb.c

index 1f65e82f8a23d9414fbbc88d71d0785086934fc0..dfff3fea0c2d3349f73aef4e04c90c11f365299c 100644 (file)
@@ -239,6 +239,8 @@ void DRD_(hb_happens_after)(const DrdThreadId tid, const Addr hb)
 
    p->done = True;
 
+   DRD_(thread_new_segment)(tid);
+
    /*
     * Combine all vector clocks that were stored because of happens-before
     * annotations with the vector clock of the current thread.