mirror of
https://github.com/php/php-src.git
synced 2025-01-22 11:44:09 +08:00
bugfix #28112
This commit is contained in:
parent
696663bc3d
commit
ddfb337577
@ -350,7 +350,9 @@ static void real_result_dtor(struct php_sqlite_result *res TSRMLS_DC)
|
||||
efree(res->col_names);
|
||||
}
|
||||
|
||||
zend_list_delete(res->db->rsrc_id);
|
||||
if (res->db) {
|
||||
zend_list_delete(res->db->rsrc_id);
|
||||
}
|
||||
efree(res);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user