Re: Mixing of memory allocation methods with application
- From: Andreas Stricker <andreas stricker fela ch>
- To: gtk-app-devel-list gnome org
- Subject: Re: Mixing of memory allocation methods with application
- Date: Mon, 26 May 2008 13:43:53 +0200
Andreas Stricker schrieb:
Micah Carrick schrieb:
I would prefer the later one. The first one can easily lead to errors,
especially if the glib allocators don't use libc malloc implementation
sometime.
I should have looked at a recent glib documentation, where it is
clearly defined that the allocation calls should be balanced:
http://library.gnome.org/devel/glib/stable/glib-Memory-Allocation.html
Cheers, Andy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]