Project

General

Profile

« Previous | Next » 

Revision 02279041

Added by Max Matveev almost 14 years ago

  • ID 02279041654a071a5915853ee11f2cd10cd613f4

Plug a memory drip when looking for pmloggers

On Darwin scandir(3) allocates the memory for the dirent pointers
and does not release it even if it returns 0 entries to the caller.
__pmLogFindLocalPorts leaks that memory if scandir(3) returns 0
which only happens if there is no pmloggers running.

  • added
  • modified
  • copied
  • renamed
  • deleted