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.
2 parents c5fb8b6 + 30b550b commit 508e70aCopy full SHA for 508e70a
NEWS
@@ -11,6 +11,9 @@ PHP NEWS
11
. Fixed GH-12077 (PHP 8.3.0RC1 borked socket-close-on-exec.phpt).
12
(Jakub Zelenka)
13
14
+- ODBC:
15
+ . Fixed memory leak with failed SQLPrepare. (NattyNarwhal)
16
+
17
- SPL:
18
. Fixed bug GH-11972 (RecursiveCallbackFilterIterator regression in 8.1.18).
19
(nielsdos)
ext/odbc/php_odbc.c
@@ -845,6 +845,7 @@ PHP_FUNCTION(odbc_prepare)
845
break;
846
default:
847
odbc_sql_error(conn, result->stmt, "SQLPrepare");
848
+ efree(result);
849
RETURN_FALSE;
850
}
851
0 commit comments