[AGENT++] agent++: Memory leak in MigGroup
Frank Fock
fock at agentpp.com
Wed Aug 11 16:17:55 CEST 2010
Then Valgrind is buggy ;-)
Otherwise you would have been able to fix it!
Best regards,
Frank Fock
Am 11.08.2010 um 15:29 schrieb <dominik.vogt at external.thalesgroup.com>:
> 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 ^_^ ^_^
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp
More information about the AGENTPP
mailing list