From 1aa1c535b51cf4d8acb4e4672942c50c91168478 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Wed, 1 Mar 2006 18:37:11 +0000 Subject: [PATCH] Remove no longer needed check (checked at a higher level now). --- ext/mysqli/mysqli.c | 5 ----- 1 file changed, 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; -- 2.40.0