[Scummvm-devel] SCI mem functions

Filippos Karapetis philipk79 at hotmail.com
Tue Feb 17 08:51:16 CET 2009




> Date: Mon, 16 Feb 2009 19:23:53 +0100
> From: walter at vanniftrik-it.nl
> To: scummvm-devel at lists.sourceforge.net
> Subject: Re: [Scummvm-devel] SCI mem functions
> 
> Max Horn wrote:
> > We used to provide our own new / delete for this purpose. It caused us  
> > only troubles, and we got rid of it. So, I say nay to keeping this --  
> > get rid of it ASAP :-).
> 
> I'm OK with that. However, I should note that the code currently relies 
> on sci_malloc (etc) for error checking, so blindly substituting malloc 
> for sci_malloc everywhere is probably a bad idea.
> 
> Regards,
> 
> Walter
> 

Erm... is there any purpose in these memory checks?
I mean, is there any particular reason why malloc() and the like would fail?
(normally, it should never fail, unless there's a very nasty leak somewhere)

Regards
Filippos

_________________________________________________________________
Stay up to date on your PC, the Web, and your mobile phone with Windows Live.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20090217/6476c558/attachment.html>


More information about the Scummvm-devel mailing list