Re: [gdome]mkref / unref
- From: Tobias Peters <tpeters uni-oldenburg de>
- To: gdome gnome org
- Subject: Re: [gdome]mkref / unref
- Date: Fri, 23 Jan 2004 13:27:16 +0100
Laurent Marzullo wrote:
Hello,
When should I write gdome_xxx_unref( ... ) ?
Should I write unref for each and only each mkref or should
I also write unref when getting object via other method ?
The latter.
Ex:
void
my_function( void )
{
GdomeElement* elt = gdome_doc_documentElement( mydoc , &excp );
// Shoul I write
gdome_el_unref( elt , &excp );
// or not ?
}
// You should
Thanks very much
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]