summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/mysqli/mysqli.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c
index 47539b717c..0d1b34db9e 100644
--- a/ext/mysqli/mysqli.c
+++ b/ext/mysqli/mysqli.c
@@ -198,11 +198,6 @@ zval *mysqli_read_property(zval *object, zval *member, int type TSRMLS_DC)
ret = FAILURE;
obj = (mysqli_object *)zend_objects_get_address(object TSRMLS_CC);
- /* object was already destroyed */
- if (!obj->ptr) {
- retval = EG(uninitialized_zval_ptr);
- return(retval);
- }
if (member->type != IS_STRING) {
tmp_member = *member;