]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Added pthread_mutex_destroy() call.
authorBart Van Assche <bvanassche@acm.org>
Sat, 8 Mar 2008 15:03:30 +0000 (15:03 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sat, 8 Mar 2008 15:03:30 +0000 (15:03 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7600

exp-drd/tests/recursive_mutex.c

index eab2eec51d3afc96034bd965fe96c0d5950e1554..e5b5854faff343212b5a13c99fdd6490868e5552 100644 (file)
@@ -27,6 +27,7 @@ int main(int argc, char** argv)
 
     printf("Recursive mutex (statically initialized).\n");
     lock_twice(&m);
+    pthread_mutex_destroy(&m);
   } 
   {
     pthread_mutex_t m;