This commit is contained in:
Ilia Alshanetsky 2004-05-25 16:49:32 +00:00
parent 402de24fc4
commit cf75eb8a6f

View File

@ -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);
#if 0
/* declared in the header, but not implemented... */
zend_objects_store_delete_obj(&stmt->lazy_object_ref TSRMLS_CC);
#else
zend_objects_store_del_ref(&stmt->lazy_object_ref TSRMLS_CC);
#endif
/* XXX: Does not appear to be needed and causes problems according to valgrind
if (&stmt->lazy_object_ref) {
zend_objects_store_del_ref(&stmt->lazy_object_ref TSRMLS_CC);
}
*/
efree(stmt);
}