Fix a leak, memory warning and failing test case.

This commit is contained in:
Andrey Hristov 2008-02-04 17:33:46 +00:00
parent a547c556b6
commit 2d5e8a1e55
3 changed files with 7 additions and 4 deletions

View file

@ -186,6 +186,7 @@ mysqlnd_mempool_destroy(MYSQLND_MEMORY_POOL * pool TSRMLS_DC)
/* mnd_free will reference LOCK_access and might crash, depending on the caller...*/
mysqlnd_mempool_free_contents(pool TSRMLS_CC);
mnd_free(pool->arena);
mnd_free(pool);
DBG_VOID_RETURN;
}
/* }}} */