MAMEWorld >> News
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

Mamesick
Troll Lamer
Reged: 09/21/03
Posts: 1649
Loc: Italy
Send PM
Re: Did a MAMEUI code analysis with Cppcheck...
10/14/11 04:46 PM


> > 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.







Entire thread
Subject Posted by Posted on
* [Annc] MameUI64/32 .143.7 released. John IV 10/11/11 06:45 AM
. * Re: [Annc] MameUI64/32 .143.7 released. Arieta  10/14/11 11:30 PM
. * Re: [Annc] MameUI64/32 .143.7 released. redk9258  10/15/11 03:39 AM
. * Re: [Annc] MameUI64/32 .143.7 released. Arieta  10/16/11 06:26 AM
. * Re: [Annc] MameUI64/32 .143.7 released. redk9258  10/16/11 06:31 AM
. * Re: [Annc] MameUI64/32 .143.7 released. Fiat1  10/13/11 07:30 AM
. * Did a MAMEUI code analysis with Cppcheck... MASH  10/12/11 01:01 AM
. * Re: Did a MAMEUI code analysis with Cppcheck... DaffyDuck  10/13/11 11:04 AM
. * Re: Did a MAMEUI code analysis with Cppcheck... Mamesick  10/14/11 04:46 PM
. * Re: [Annc] MameUI64/32 .143.7 released. cyberdman  10/12/11 12:56 AM
. * Re: [Annc] MameUI64/32 .143.7 released. AnimalBear  10/11/11 05:03 PM
. * Re: [Annc] MameUI64/32 .143.7 released. redk9258  10/11/11 12:51 PM

Extra information Permissions
Moderator:  John IV, Robbbert, Tafoid 
0 registered and 133 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3521