Re: [tablix-list] freeing memory allocated in modules

From: S <>
Date: Fri, 14 Mar 2008 19:33:07 +0100


> Some modules (e.g. preferredtime.c) allocate memory to static 'work
> space', as I do in some modules I'm working on. Is there any
> provision for freeing this memory once the tablix process is
> complete? I would expect this to be handled by something analogous
> to module_init (e.g. module_exit?), but as far as I can tell this
> isn't done currently. Or am I missing something?

You're not missing anything. There's no module_exit() yet (but this is
something that will probably be fixed sometime in the future).

As John said, this isn't a problem because OS will free the memory for
you when Tablix exits.

Best regards
Received on Fri Mar 14 2008 - 19:33:08 CET

This archive was generated by hypermail 2.2.0 : Sat Mar 15 2008 - 06:34:06 CET