Re: GObject Destruction
- From: David Nečas <yeti physics muni cz>
- To: "Jasper St. Pierre" <jstpierre mecheye net>
- Cc: "gtk-list gnome org" <gtk-list gnome org>, Günther Wutz <android gunibert de>
- Subject: Re: GObject Destruction
- Date: Tue, 18 Dec 2012 23:57:44 +0100
On Tue, Dec 18, 2012 at 05:37:08PM -0500, Jasper St. Pierre wrote:
> The call for freeing a block of memory is free(void *data);
And the call for freeing a GSlice-allocated block of memory is
void g_slice_free1(gsize block_size, gpointer mem_block);
And the call for freeing a memory-mapped region is
int munmap(void *addr, size_t length);
I missed the start of the thread and can't comment on that, but freeing
memory may require all kinds of knowledge.
Yeti
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]