Project

General

Profile

« Previous | Next » 

Revision ee4db628

Added by Nathan Scott over 14 years ago

  • ID ee4db6282c29c9b0dd07822a0545ed20ccbcc0c0

Fix local context reporting of help text.

Help text coming out of the direct PMDA calls to get help text
is not dynamically allocated, so we cannot free it. pmLookupText
callers (like pminfo) are expecting the buffer to be allocated
however, so we need to strdup the text before passing it back.

MMV and Windows PMDAs need updating as they are leaking memory
in this area at the moment (will be separate commits).

  • added
  • modified
  • copied
  • renamed
  • deleted