]> granicus.if.org Git - php/commitdiff
- bugfix 31348
authorMarcus Boerger <helly@php.net>
Mon, 24 Jan 2005 20:21:11 +0000 (20:21 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 24 Jan 2005 20:21:11 +0000 (20:21 +0000)
ext/spl/spl_iterators.c

index a97aceb2f091c8fa0c33f35b65d33a2195ef7fdb..38f63182a7c191db52b130ef50c3e55b3ae61462 100755 (executable)
@@ -1282,6 +1282,7 @@ static INLINE void spl_caching_it_next(spl_dual_it_object *intern TSRMLS_DC)
                                        zval_copy_ctor(intern->u.caching.zstr);
                                        zval_dtor(&expr_copy);
                                } else {
+                                       INIT_PZVAL(intern->u.caching.zstr);
                                        zval_copy_ctor(intern->u.caching.zstr);
                                }
                        }