cvs: /php3/functions gd.c
| From: | Rasmus Lerdorf | Date: | Mon, 01 May 2000 22:15:56 +0000 |
| Subject: | cvs: /php3/functions gd.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18335@lists.php.net to get a copy of this message | ||
rasmus Tue May 2 00:15:56 2000 EDT
Modified files:
/php3/functions gd.c
Log:
Never mind on the error check
Index: php3/functions/gd.c
diff -u php3/functions/gd.c:1.151 php3/functions/gd.c:1.152
--- php3/functions/gd.c:1.151 Mon May 1 20:54:32 2000
+++ php3/functions/gd.c Tue May 2 00:15:56 2000
@@ -29,7 +29,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: gd.c,v 1.151 2000/05/01 18:54:32 rasmus Exp $ */
+/* $Id: gd.c,v 1.152 2000/05/01 22:15:56 rasmus Exp $ */
/* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -1723,10 +1723,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 (_php3_hash_index_find(POINTS->value.ht, (i * 2), (void **)&var) == SUCCESS) {