Skip to content

Commit 9dd9f90

Browse files
committed
Init flags field
1 parent 6004696 commit 9dd9f90

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/imap/php_imap.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ static zend_object* imap_object_create(zend_class_entry* ce) {
162162
php_imap_object *obj = zend_object_alloc(sizeof(php_imap_object), ce);
163163
zend_object *zobj = imap_object_to_zend_object(obj);
164164
obj->imap_stream = NULL;
165+
obj->flags = 0;
165166
zend_object_std_init(zobj, ce);
166167
object_properties_init(zobj, ce);
167168
zobj->handlers = &imap_object_handlers;

0 commit comments

Comments
 (0)