Re: g_ptr_array_free

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

 



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@xxxxxxxx              |     är himmlen så förunderligt blå
http://seppi.de                    |

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux