cvs: php4 /ext/gd gd.c

From: Date: Sat, 15 Jun 2002 17:46:44 +0000
Subject: cvs: php4 /ext/gd gd.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-12371@lists.php.net to get a copy of this message
mfischer Sat Jun 15 13:46:44 2002 EDT Modified files: /php4/ext/gd gd.c Log: - Don't forget to close the stream. Index: php4/ext/gd/gd.c diff -u php4/ext/gd/gd.c:1.187 php4/ext/gd/gd.c:1.188 --- php4/ext/gd/gd.c:1.187 Sun Jun 9 08:44:33 2002 +++ php4/ext/gd/gd.c Sat Jun 15 13:46:44 2002 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: gd.c,v 1.187 2002/06/09 12:44:33 sander Exp $ */ +/* $Id: gd.c,v 1.188 2002/06/15 17:46:44 mfischer Exp $ */ /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center, Cold Spring Harbor Labs. */ @@ -1214,6 +1214,7 @@ if (im) { ZEND_REGISTER_RESOURCE(return_value, im, le_gd); + php_stream_close(stream); return; }

« previous php.cvs (#12371) next »