mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-27 10:55:42 +00:00
Fixed uninilized intern
This commit is contained in:
1 parent
4340f1a561
commit
237dbd972e
1 file changed
+1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user