mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
MFH: Fixed memory leak.
This commit is contained in:
parent
612dab64ee
commit
9a0bed9863
@ -1357,6 +1357,9 @@ static void dbh_free(pdo_dbh_t *dbh TSRMLS_DC)
|
||||
if (dbh->def_stmt_ctor_args) {
|
||||
zval_ptr_dtor(&dbh->def_stmt_ctor_args);
|
||||
}
|
||||
if (dbh->cls_methods) {
|
||||
zend_hash_destroy(&dbh->cls_methods);
|
||||
}
|
||||
|
||||
pefree(dbh, dbh->is_persistent);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user