Re: g_ptr_array_free
- From: Sebastian Wilhelmi <seppi seppi de>
- To: francex tiscali it
- Cc: gtk-list gnome org
- Subject: Re: g_ptr_array_free
- Date: Mon, 13 Oct 2003 15:01:41 +0200
Hi,
> In a my prg I have used 'g_ptr_array_free (an_array_list,TRUE)'. This array
> contains pointers to structs. This structs are allocated with 'g_new0 (my_struct,
> 1)'. If I set parameter TRUE in 'g_ptr_array_free', these structs are automatically
> deallocated?
No. Just array->pdata is freed in case free_segment is TRUE. Otherwise
it is returned.
Ciao,
Sebastian
--
Sebastian Wilhelmi | här ovanför alla molnen
mailto:seppi seppi de | är himmlen så förunderligt blå
http://seppi.de |
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]