- Don't forget to close the stream.

This commit is contained in:
Markus Fischer 2002-06-15 17:46:44 +00:00
parent a3c79eca49
commit 9fea4c1f5f

View File

@ -1214,6 +1214,7 @@ static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type,
if (im) {
ZEND_REGISTER_RESOURCE(return_value, im, le_gd);
php_stream_close(stream);
return;
}