Re: GObject Destruction
- From: "Jasper St. Pierre" <jstpierre mecheye net>
- To: David Nečas <yeti physics muni cz>
- Cc: "gtk-list gnome org" <gtk-list gnome org>, Günther Wutz <android gunibert de>
- Subject: Re: GObject Destruction
- Date: Tue, 18 Dec 2012 17:59:33 -0500
If you're using GSlice on a dynamically-sized array, you are using GSlice wrong. This is not what GSlice was designed for and you will cause fragmentation.
The case for munmap is better, but again, I'd just store the overall size of the region, rather than calculating it again.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]