mirror of
https://github.com/php/php-src.git
synced 2024-12-13 03:44:17 +08:00
Cleanup.
This commit is contained in:
parent
402de24fc4
commit
cf75eb8a6f
@ -821,13 +821,11 @@ void pdo_dbstmt_free_storage(zend_object *object TSRMLS_DC)
|
|||||||
}
|
}
|
||||||
|
|
||||||
zend_objects_store_del_ref(&stmt->database_object_handle TSRMLS_CC);
|
zend_objects_store_del_ref(&stmt->database_object_handle TSRMLS_CC);
|
||||||
#if 0
|
/* XXX: Does not appear to be needed and causes problems according to valgrind
|
||||||
/* declared in the header, but not implemented... */
|
if (&stmt->lazy_object_ref) {
|
||||||
zend_objects_store_delete_obj(&stmt->lazy_object_ref TSRMLS_CC);
|
|
||||||
#else
|
|
||||||
zend_objects_store_del_ref(&stmt->lazy_object_ref TSRMLS_CC);
|
zend_objects_store_del_ref(&stmt->lazy_object_ref TSRMLS_CC);
|
||||||
#endif
|
}
|
||||||
|
*/
|
||||||
efree(stmt);
|
efree(stmt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user