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 proc_mutex.c
Date Mon, 14 Jun 2004 09:19:15 GMT
jorton      2004/06/14 02:19:15

  Modified:    locks/unix proc_mutex.c
  Log:
  * locks/unix/proc_mutex.c (proc_mutex_proc_pthread_cleanup): Fix
  memory leakup; always unmap the mmap'ed region.
  
  PR: 24049
  Submitted by: Kohn Emil Dan <emild cs.technion.ac.il>
  
  Revision  Changes    Path
  1.43      +4 -4      apr/locks/unix/proc_mutex.c
  
  Index: proc_mutex.c
  ===================================================================
  RCS file: /home/cvs/apr/locks/unix/proc_mutex.c,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -d -w -u -r1.42 -r1.43
  --- proc_mutex.c	14 Jun 2004 09:13:36 -0000	1.42
  +++ proc_mutex.c	14 Jun 2004 09:19:15 -0000	1.43
  @@ -265,10 +265,10 @@
   #endif
               return rv;
           } 
  +    }
           if (munmap((caddr_t)mutex->pthread_interproc, sizeof(pthread_mutex_t))){
               return errno;
           }
  -    }
       return APR_SUCCESS;
   }    
   
  
  
  

Mime
View raw message