[Scummvm-devel] CVS: "added extra flag to mixer so we don't use free() on new'd pointers"

Marcus Comstedt marcus at mc.pp.se
Fri Oct 24 17:24:34 CEST 2003

Joost Peters <j at 7fc1.org> writes:

> The fileloading code in Queen does 'new' (it's C++ afterall) so shouldn't it
> be 'deleted' ?

Last time I checked, it was possible to call malloc() from C++ as
well.  If the mixer uses free() on the buffers, they should be
allocated with malloc().

  // Marcus

More information about the Scummvm-devel mailing list