Re: Gdk-pixbuf loader issues

Dan Winship <> writes:

> > The other ones should really let the calling program know that memory
> > was exausted.  In this case, I don't care if we have to change the
> > API; crashing is just not an option.
> g_malloc already calls g_error if malloc returns NULL. Thank you for
> playing.

That's why big buffers in gdk-pixbuf are allocated using malloc(),
which is non-broken :-)

The rest of the code should be fixed to do this.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]