Project

General

Profile

« Previous | Next » 

Revision 6de110e7

Added by Max Matveev over 14 years ago

  • ID 6de110e7155f91cd2897c29bff8ab978f8ab8b7f

Plug a memory leak in Solaris PMDA

zpool.state and zpool.perdisk.state are strings which zpool_state_to_name()
gets from gettext, they do not need to be dupped when returned to the
callers of the pmda's fetch callback, they only need to be persistent
enough to be returned to the caller where they will be copied into
pmResult.

  • added
  • modified
  • copied
  • renamed
  • deleted