cvs: php4 /ext/gd/libgd gdcache.c
| From: | Moriyoshi Koizumi | Date: | Sat, 23 Nov 2002 21:33:31 +0000 |
| Subject: | cvs: php4 /ext/gd/libgd gdcache.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-16594@lists.php.net to get a copy of this message | ||
moriyoshi Sat Nov 23 16:33:31 2002 EDT
Modified files:
/php4/ext/gd/libgd gdcache.c
Log:
Fixed segfaults
Index: php4/ext/gd/libgd/gdcache.c
diff -u php4/ext/gd/libgd/gdcache.c:1.2 php4/ext/gd/libgd/gdcache.c:1.3
--- php4/ext/gd/libgd/gdcache.c:1.2 Tue Nov 19 14:55:54 2002
+++ php4/ext/gd/libgd/gdcache.c Sat Nov 23 16:33:31 2002
@@ -86,9 +86,9 @@
(*(head->gdCacheRelease)) (elem->userdata);
prev = elem;
elem = elem->next;
- gdFree ((char *) prev);
+ gdPFree ((char *) prev);
}
- gdFree ((char *) head);
+ gdPFree ((char *) head);
}
void *