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 aff86d6 + a022ec5 commit 30b550bCopy full SHA for 30b550b
NEWS
@@ -20,6 +20,9 @@ PHP NEWS
20
. Fixed bug GH-10270 (Invalid error message when connection via SSL fails:
21
"trying to connect via (null)"). (Kamil Tekiela)
22
23
+- ODBC:
24
+ . Fixed memory leak with failed SQLPrepare. (NattyNarwhal)
25
+
26
- SPL:
27
. Fixed bug GH-11972 (RecursiveCallbackFilterIterator regression in 8.1.18).
28
(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