We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
FutureSession
1 parent 5b730c3 commit 109c528Copy full SHA for 109c528
ext/src/FutureSession.c
@@ -133,6 +133,8 @@ php_driver_future_session_free(php5to7_zend_object_free *object TSRMLS_DC)
133
efree(self->exception_message);
134
}
135
136
+ PHP5TO7_ZVAL_MAYBE_DESTROY(self->default_session);
137
+
138
zend_object_std_dtor(&self->zval TSRMLS_CC);
139
PHP5TO7_MAYBE_EFREE(self);
140
@@ -149,6 +151,8 @@ php_driver_future_session_new(zend_class_entry *ce TSRMLS_DC)
149
151
self->hash_key = NULL;
150
152
self->persist = 0;
153
154
+ PHP5TO7_ZVAL_UNDEF(self->default_session);
155
156
PHP5TO7_ZEND_OBJECT_INIT(future_session, self, ce);
157
158
0 commit comments