Re: newbie question about g_object unref()
- From: Michael Cronenworth <mike cchtml com>
- To: gtk-app-devel-list gnome org
- Subject: Re: newbie question about g_object unref()
- Date: Thu, 18 Nov 2010 16:15:00 -0600
N James Bridge wrote:
It seems that g_object_unref (ptr) doesn't set ptr to NULL when it frees
the allocated memory. Have I got something wrong here? Do I have to do
it explicitly?
The official documentation[1] does not mention anything about setting
the pointer to NULL. Did you read something that says otherwise?
[1]
http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]