[Scummvm-devel] Memory leaks

Johannes Schickel lordhoto at scummvm.org
Wed Mar 3 20:19:45 CET 2010


yotam barnoy wrote:
>
> I don't really know the tools to do this measurement properly (other 
> than some hacks that could take a while), but using Process Explorer 
> on Windows, it seems like several of the engines are no longer 
> cleaning up after themselves properly. Scumm may be the worst offender 
> (CoMI itself for instance) but possibly also Teen Agent and some others.

It should be pretty easy to use valgrind (http://valgrind.org/) on x86 
or amd64 Linux or Intel OS X (I think it works nowadays on that too) to 
do memory leak checking. It also features a nice output including 
call-stack for the leak allocations.

// Johannes





More information about the Scummvm-devel mailing list