[AGENT++] agent++: Memory leak in MigGroup
dominik.vogt at external.thalesgroup.com
dominik.vogt at external.thalesgroup.com
Wed Aug 11 15:29:39 CEST 2010
On Wed, Aug 11, 2010 at 03:21:05PM +0200, Frank Fock wrote:
> The first is a memory leak (when the objects in the group could not be
> added). This have to be fixed. The other is not a leak and is intended
> behavior. The Mib class is always responsible for deleting MibEntry
> objects.
The Mib class *does not* delete the items in the MibGroup.
Valgrind reports the memory to be leaked by losing the last
reference to the memory when the Mib is deleted.
Ciao
Dominik ^_^ ^_^
More information about the AGENTPP
mailing list