On Mon, 29 Nov 2004 16:55:33 +0100, Paul J Stevens <[EMAIL PROTECTED]> wrote:
> I'm putting my money where my mouth is: I've modified the 2_0 code and 
> replaced
> all strdup call with my_strdup call, implemented in debug.c
> 
> This my_strdup is a complete ripoff from glib's g_strdup. It uses my_malloc to
> assign memory allowing full usage of my_free throughout the code.
> 
> This also allows clean test runs of the imap-server with garbage collection 
> enabled.
> 
> I'm updating the debian packages accordingly for 2.0, and will upload
> 2.0.2-0.20041129 shortly. Those will depend on libgc1 for garbage collection.
> 
> Ilja, howabout it: can we start using gc in the codebase starting at 2.0.2?

I'm a bit worried about having a mix of gc and non-gc allocations. If
we're using GLib stuff, and GLib allocates memory, we still have to
free that.
Wasn't it possible to make the whole program use GC_MALLOC? That would
remove this objectiion from my side.

Ilja

Reply via email to