Merge branch 'PHP-8.3'

* PHP-8.3:
  Fix memory leak with failed SQLPrepare
This commit is contained in:
George Peter Banyard 2023-09-02 23:03:38 +01:00
commit 2c05db33cc

View file

@ -845,6 +845,7 @@ PHP_FUNCTION(odbc_prepare)
break;
default:
odbc_sql_error(conn, result->stmt, "SQLPrepare");
efree(result);
RETURN_FALSE;
}