Re: Mixing of memory allocation methods with application



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]