mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-8.3'
* PHP-8.3: Fix GH-13998: Manage refcount of agg_context->val correctly (#14004)
This commit is contained in:
commit
3e3875c379
2 changed files with 25 additions and 1 deletions
|
@ -426,7 +426,6 @@ static int do_callback(struct pdo_sqlite_fci *fc, zval *cb, int argc, sqlite3_va
|
|||
* the context */
|
||||
if (agg_context) {
|
||||
if (Z_ISUNDEF(retval)) {
|
||||
zval_ptr_dtor(&agg_context->val);
|
||||
return FAILURE;
|
||||
}
|
||||
zval_ptr_dtor(Z_REFVAL(agg_context->val));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue