Re: Gdk-pixbuf loader issues
- From: Federico Mena Quintero <federico helixcode com>
- To: Dan Winship <danw helixcode com>
- Cc: gnome-devel-list gnome org
- Subject: Re: Gdk-pixbuf loader issues
- Date: 08 Jul 2000 19:26:08 -0400
Dan Winship <danw@helixcode.com> 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.
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]