mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-8.3'
* PHP-8.3: Fix memory leak with failed SQLPrepare
This commit is contained in:
commit
2c05db33cc
1 changed files with 1 additions and 0 deletions
|
@ -845,6 +845,7 @@ PHP_FUNCTION(odbc_prepare)
|
|||
break;
|
||||
default:
|
||||
odbc_sql_error(conn, result->stmt, "SQLPrepare");
|
||||
efree(result);
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue