mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-8.1'
* PHP-8.1: Fix Bug #81588 TokyoCabinet driver leaks memory
This commit is contained in:
commit
8ca7220bc9
2 changed files with 2 additions and 0 deletions
|
@ -77,6 +77,7 @@ DBA_CLOSE_FUNC(tcadb)
|
|||
dba_tcadb_data *dba = info->dbf;
|
||||
|
||||
tcadbclose(dba->tcadb);
|
||||
tcadbdel(dba->tcadb);
|
||||
pefree(dba, info->flags & DBA_PERSISTENT);
|
||||
}
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@ dba
|
|||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
$handler = 'tcadb';
|
||||
$lock_flag = 'l';
|
||||
$db_filename = $db_file = __DIR__ .'/test0.tch';
|
||||
@unlink($db_filename);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue