CESNET / ipfixcol

IPFIXcol is an implementation of an IPFIX (RFC 7011) collector
Other
64 stars 37 forks source link

fbitdump: memory leak when aggregation is used #108

Closed ghost closed 9 years ago

ghost commented 9 years ago

Any form of aggregation in fbitdump results in memory leaks:

556 (144 direct, 412 indirect) bytes in 1 blocks are definitely lost in loss record 21 of 22
        at 0x4C286E7: operator new(unsigned long) (vg_replace_malloc.c:287)
        by 0x4183DD: fbitdump::Configuration::getAggregateColumns() const (Configuration.cpp:662)
        by 0x4099E9: fbitdump::AggregateFilter::AggregateFilter(fbitdump::Configuration&) (AggregateFilter.cpp:52)
        by 0x41FB9E: main (fbitdump.cpp:109)
596 (144 direct, 452 indirect) bytes in 1 blocks are definitely lost in loss record 22 of 22
        at 0x4C286E7: operator new(unsigned long) (vg_replace_malloc.c:287)
        by 0x4183DD: fbitdump::Configuration::getAggregateColumns() const (Configuration.cpp:662)
        by 0x420170: main (fbitdump.cpp:165)
thorgrin commented 9 years ago

Fixed in 1b17556302cd452. Thanks.