Re: what if g_strdup_printf() fails?



On Sun, Sep 15, 2002 at 02:53:59PM +0200, Remco Poelstra wrote:
Hmm, the manual says about g_malloc that if allocation fails that the 
application is terminated. I think  I'll construct my own version of 
strdup_printf(), since I've so complex cleaning to do before the 
application should terminate.

Thanks for the reply,

Remco Poelstra

Ahh, right.  g_error() will call abort().  Guess I glossed over that
part, thanks for pointing it out.

-Scott



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