Skip to content

Commit 9a569d2

Browse files
committed
Use php_stream_auto_cleanup() consistently
1 parent d5e32cb commit 9a569d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysqlnd/mysqlnd_vio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ MYSQLND_METHOD(mysqlnd_vio, open_tcp_or_unix)(MYSQLND_VIO * const vio, const MYS
249249
}
250250
#if ZEND_DEBUG
251251
/* Shut-up the streams, they don't know what they are doing */
252-
net_stream->__exposed = 1;
252+
php_stream_auto_cleanup(net_stream);
253253
#endif
254254
mnd_sprintf_free(hashed_details);
255255
}

0 commit comments

Comments
 (0)