DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24049>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24049

Memory leak in the unix proc_mutex implementation

           Summary: Memory leak in the unix proc_mutex implementation
           Product: APR
           Version: 0.9.4
          Platform: All
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: APR
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


There is a memory leak in the current unix implementation of proc_mutexes. In 
the current implementation 

proc_mutex_proc_pthread_cleanup() 

from 

locks/unix/proc_mutex.c

will not perform the munmap() unless the mutex is locked. Obviously this is not 
what we want.

I attach a patch to fix this problem.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to