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

From: John Winters <john_at_sinodun.org.uk>
Date: Tue, 11 Mar 2008 18:14:49 +0000

Richard Taylor wrote:
> 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?

Once the tablix process exits, all memory will be freed up regardless of
what you do.

John
Received on Tue Mar 11 2008 - 19:14:53 CET

This archive was generated by hypermail 2.2.0 : Wed Mar 12 2008 - 06:33:03 CET