cvs: /php4/ext/gd gd.c
| From: | Rasmus Lerdorf | Date: | Mon, 01 May 2000 22:14:54 +0000 |
| Subject: | cvs: /php4/ext/gd gd.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-14294@lists.php.net to get a copy of this message | ||
rasmus Tue May 2 00:14:54 2000 EDT
Modified files:
/php4/ext/gd gd.c
Log:
Never mind on the error check
Index: php4/ext/gd/gd.c
diff -u php4/ext/gd/gd.c:1.53 php4/ext/gd/gd.c:1.54
--- php4/ext/gd/gd.c:1.53 Mon May 1 20:56:58 2000
+++ php4/ext/gd/gd.c Tue May 2 00:14:54 2000
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: gd.c,v 1.53 2000/05/01 18:56:58 rasmus Exp $ */
+/* $Id: gd.c,v 1.54 2000/05/01 22:14:54 rasmus Exp $ */
/* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -1463,10 +1463,6 @@
}
points = (gdPointPtr) emalloc(npoints * sizeof(gdPoint));
- if (points == NULL) {
- php_error(E_WARNING, "ImagePolygon: Memory allocation fault");
- RETURN_FALSE;
- }
for (i = 0; i < npoints; i++) {
if (zend_hash_index_find((*POINTS)->value.ht, (i * 2), (void **) &var) == SUCCESS) {