mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix a leak, memory warning and failing test case.
This commit is contained in:
parent
a547c556b6
commit
2d5e8a1e55
3 changed files with 7 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
/* }}} */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue