1
0
mirror of https://github.com/php/php-src.git synced 2026-04-18 05:21:02 +02:00

Fixed bug #24557 (make fclose() respect refcount on the resource).

This commit is contained in:
Ilia Alshanetsky
2003-07-27 18:45:02 +00:00
parent 308df2af54
commit cd4a281364

View File

@@ -763,7 +763,7 @@ PHPAPI PHP_FUNCTION(fclose)
}
php_stream_from_zval(stream, arg1);
php_stream_close(stream);
zend_list_delete(stream->rsrc_id);
RETURN_TRUE;
}