mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0: Fix memory leak in LMDB driver
This commit is contained in:
commit
c7a0439d60
1 changed files with 1 additions and 0 deletions
|
@ -72,6 +72,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