Yesterday I ran into memory leakage problem when compiling my digital signal processing framework with GCC 4.8.2 under Windows. Implementing reference counts with C++
As is advised, I tried compiling my code with Visual Studio 2012 and troubles are gone. How should I diagnose this kind of problem? Thanks.