apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: apr/locks/unix thread_mutex.c
Date Sun, 08 Jun 2003 13:42:20 GMT
jorton      2003/06/08 06:42:20

  Modified:    locks/unix thread_mutex.c
  Log:
  Error handling fix (unrelated to previous changes): don't call
  pthread_mutex_destroy(NULL) if pthread_mutex_init() fails.
  
  Revision  Changes    Path
  1.18      +0 -1      apr/locks/unix/thread_mutex.c
  
  Index: thread_mutex.c
  ===================================================================
  RCS file: /home/cvs/apr/locks/unix/thread_mutex.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -u -r1.17 -r1.18
  --- thread_mutex.c	8 Jun 2003 13:36:32 -0000	1.17
  +++ thread_mutex.c	8 Jun 2003 13:42:20 -0000	1.18
  @@ -92,7 +92,6 @@
   #ifdef PTHREAD_SETS_ERRNO
           rv = errno;
   #endif
  -        thread_mutex_cleanup(new_mutex);
           return rv;
       }
   
  
  
  

Mime
View raw message