> > Cppcheck is a static analysis tool for C/C++ code. Cppcheck does not detect syntax > > errors > > like C/C++ compilers but tries to detect bugs that are not visible by the compiler > > like memory leaks or out of bounds. > > > > Cppcheck is a command line tool but don’t panic, a GUI is also available. With > > Cppcheck, > > you can analyze a single file or the content of a whole folder. > > > > > > Homepage: > > http://cppcheck.sourceforge.net/ > > > > Cppcheck 1.50 Win32 installer: > > http://downloads.sourceforge.net/cppcheck/cppcheck-1.50-x86-Setup.msi > > > > I've checked the MAMEUI source with Cppchec and found a MEMORY LEAK! > > thanks MASH. Very interesting.
oh, well a simple "free(pspage);" added in the incriminated line fixes the issues. But I don't think it's really a problem.