On Thu, 2008-11-13 at 04:49 -0800, Anurag Gujral wrote: > Hi All, > I need to call function modulename_child_exit in apache > 2.0 to free resources that are allocated in > modulename_child_init. How should I use that function so that it gets > called only when child dies. > > Plz Comment > > Thanks > Anurag > When you allocate resources, you should register a cleanup function for them and tie it to the configuration pool. See http://www.apachetutor.org/dev/pools and http://wiki.apache.org/httpd/ModuleLife Cheers Tom --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx