You allocate memory with new and put it on a std::vector but you never delete
it. Valgrind reports these:
==3712== 344 (88 direct, 256 indirect) bytes in 1 blocks are definitely lost in
loss record 393 of 529
==3712== at 0x4C25F07: operator new(unsigned long) (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==3712== by 0x41B831: Unit_Tests::createScene() (Tests.cpp:48)
==3712== by 0x411682: BaseApplication::setup() (BaseApplication.cpp:233)
==3712== by 0x412152: BaseApplication::go() (BaseApplication.cpp:202)
==3712== by 0x411372: main (Tests.cpp:122)
Original issue reported on code.google.com by svenst...@gmail.com on 24 Jul 2011 at 10:09
Original issue reported on code.google.com by
svenst...@gmail.com
on 24 Jul 2011 at 10:09