This commit is contained in:
Marcus Boerger 2004-04-22 22:26:02 +00:00
parent 696663bc3d
commit ddfb337577

View File

@ -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);
}