Fixed uninilized intern

This commit is contained in:
Xinchen Hui 2014-02-28 22:55:59 +08:00
parent 4340f1a561
commit 237dbd972e

View File

@ -336,6 +336,7 @@ static zend_object *spl_filesystem_object_clone(zval *zobject TSRMLS_DC)
old_object = Z_OBJ_P(zobject);
source = (spl_filesystem_object*)old_object;
new_object = spl_filesystem_object_new_ex(old_object->ce TSRMLS_CC);
intern = (spl_filesystem_object*)new_object;
intern->flags = source->flags;