We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b7babf commit 5b83b3aCopy full SHA for 5b83b3a
NEWS
@@ -2,6 +2,9 @@ PHP NEWS
2
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3
?? ??? 2022, PHP 8.0.23
4
5
+- DBA:
6
+ . Fixed LMDB driver memory leak on DB creation failure (Girgias)
7
+
8
- Standard:
9
. Fixed bug GH-9017 (php_stream_sock_open_from_socket could return NULL).
10
(Heiko Weber)
ext/dba/dba_lmdb.c
@@ -72,6 +72,7 @@ DBA_OPEN_FUNC(lmdb)
72
73
rc = mdb_env_open(env, info->path, flags, mode);
74
if (rc) {
75
+ mdb_env_close(env);
76
*error = mdb_strerror(rc);
77
return FAILURE;
78
}
0 commit comments