While fixing src to use new style memPoolDestroy() I came across
that coss_index_pool is not destroyed.
I hope somebody familiar with COSS would say if its right.
/*
* initial setup/done code
*/
static void
storeCossDirDone(void)
{
memPoolDestroy(&coss_state_pool);
/* memPoolDestroy(&coss_index_pool); XXX Should be here? */
coss_initialised = 0;
}
void
storeFsSetup_coss(storefs_entry_t * storefs)
{
assert(!coss_initialised);
storefs->parsefunc = storeCossDirParse;
storefs->reconfigurefunc = storeCossDirReconfigure;
storefs->donefunc = storeCossDirDone;
coss_state_pool = memPoolCreate("COSS IO State data", sizeof(CossState));
coss_index_pool = memPoolCreate("COSS index data", sizeof(CossIndexNode));
coss_initialised = 1;
}
------------------------------------
Andres Kroonmaa <andre@online.ee>
CTO, Delfi Online
Tel: 6501 731, Fax: 6501 708
Pärnu mnt. 158, Tallinn,
11317 Estonia
Received on Fri May 04 2001 - 08:58:37 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:58 MST