File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1930,6 +1930,7 @@ void zend_do_function_return_hint(const znode *return_hint TSRMLS_DC) {
1930
1930
CG (active_op_array )-> return_hint .class_name_len = Z_STRLEN (return_hint -> u .constant );
1931
1931
CG (active_op_array )-> return_hint .class_name = zend_new_interned_string
1932
1932
(Z_STRVAL (return_hint -> u .constant ), Z_STRLEN (return_hint -> u .constant )+ 1 , 1 TSRMLS_CC );
1933
+ zval_dtor ((zval * )& return_hint -> u .constant );
1933
1934
} else {
1934
1935
CG (active_op_array )-> return_hint .type = Z_TYPE (return_hint -> u .constant );
1935
1936
}
@@ -1938,6 +1939,7 @@ void zend_do_function_return_hint(const znode *return_hint TSRMLS_DC) {
1938
1939
CG (active_op_array )-> return_hint .class_name_len = Z_STRLEN (return_hint -> u .constant );
1939
1940
CG (active_op_array )-> return_hint .class_name = zend_new_interned_string
1940
1941
(Z_STRVAL (return_hint -> u .constant ), Z_STRLEN (return_hint -> u .constant )+ 1 , 1 TSRMLS_CC );
1942
+ zval_dtor ((zval * )& return_hint -> u .constant );
1941
1943
}
1942
1944
}
1943
1945
} /* }}} */
You can’t perform that action at this time.
0 commit comments