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: Update NEWS Fix memory leak in LMDB driver
This commit is contained in:
commit
d0542a6b5c
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ DBA_OPEN_FUNC(lmdb)
|
|||
|
||||
rc = mdb_env_open(env, info->path, flags, mode);
|
||||
if (rc) {
|
||||
mdb_env_close(env);
|
||||
*error = mdb_strerror(rc);
|
||||
return FAILURE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue