[php-src] master: Use php_stream_auto_cleanup() consistently

From: Date: Sun, 21 Apr 2024 14:08:32 +0000
Subject: [php-src] master: Use php_stream_auto_cleanup() consistently
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-128192@lists.php.net to get a copy of this message
Author: Niels Dossche (nielsdos) Date: 2024-04-21T16:07:40+02:00 Commit: https://github.com/php/php-src/commit/bb8234d2bd02b3ef6df916f1dc6d56385fbe1579 Raw diff: https://github.com/php/php-src/commit/bb8234d2bd02b3ef6df916f1dc6d56385fbe1579.diff Use php_stream_auto_cleanup() consistently Changed paths: M ext/mysqlnd/mysqlnd_vio.c Diff: diff --git a/ext/mysqlnd/mysqlnd_vio.c b/ext/mysqlnd/mysqlnd_vio.c index fc0e712e97c9f..7a9fa313922f8 100644 --- a/ext/mysqlnd/mysqlnd_vio.c +++ b/ext/mysqlnd/mysqlnd_vio.c @@ -249,7 +249,7 @@ MYSQLND_METHOD(mysqlnd_vio, open_tcp_or_unix)(MYSQLND_VIO * const vio, const MYS } #if ZEND_DEBUG /* Shut-up the streams, they don't know what they are doing */ - net_stream->__exposed = 1; + php_stream_auto_cleanup(net_stream); #endif mnd_sprintf_free(hashed_details); }

« previous php.cvs (#128192) next »