Strange error while working on RPC backend

Dave Peticolas dave@krondo.com
Wed, 14 Mar 2001 17:06:33 -0800


Derek Atkins writes:
> Dave Peticolas <dave@krondo.com> writes:
> 
> > Derek Atkins writes:
> > > Question: how does the XML File Backend deal with having
> > > book_end() called twice?
> > 
> > The xml i/o isn't current set up as a Backend, although
> > we plan to do so eventually. Right now it is basically
> > used when there is no backend.
> 
> Hrm, ok.
> 
> Question: what happens if you try to g_free(NULL)?  Calling
> gnc_book_end() twice will have that effect.

Nothing, g_free is guaranteed to behave for NULL arguments.

dave