Memory leak in linktest::System::setup_singleton_instance()
There is an operator new(unsigned long)
on system.cc:92
that is never freed.
Valgrind:
==18447== 80 bytes in 1 blocks are still reachable in loss record 26 of 37
==18447== at 0x483CFE3: operator new(unsigned long) (vg_replace_malloc.c:422)
==18447== by 0x11D7E4: linktest::System::setup_singleton_instance() (system.cc:92)
==18447== by 0x11B4DA: main (linktest.cc:47)