diff options
author | Markus Fischer <mfischer@php.net> | 2002-06-15 17:46:44 +0000 |
---|---|---|
committer | Markus Fischer <mfischer@php.net> | 2002-06-15 17:46:44 +0000 |
commit | 9fea4c1f5f7102a9627d5e0834078fbfa865f461 (patch) | |
tree | 931011a753eabe82963464f2c6a6f7f95da97eda | |
parent | a3c79eca49a50d90ef2d79f1464709d742fd3073 (diff) | |
download | php-git-9fea4c1f5f7102a9627d5e0834078fbfa865f461.tar.gz |
- Don't forget to close the stream.
-rw-r--r-- | ext/gd/gd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 88e54f1334..0c24d172e5 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -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; } |