Actions
Bug #7041
closedMemory leak in Mutex
Description
=begin
Ruby does not destroy pthread condattr structure after allocating and using it in pthread_thread.c:native_cond_initialize().
This causes a memory leak that can be demonstrated by the following snipplet:
loop do
Mutex.new
GC.start
end
The patch attached fixes it.
This happens on both 1.9 and head.
=end
Files
Actions
Like0
Like0Like0Like0Like0