Memory leak detection library