Fixed segfaults

This commit is contained in:
Moriyoshi Koizumi 2002-11-23 21:33:31 +00:00
parent 1827a58de0
commit 57e4b81d13

View File

@ -86,9 +86,9 @@ gdCacheDelete (gdCache_head_t * head)
(*(head->gdCacheRelease)) (elem->userdata);
prev = elem;
elem = elem->next;
gdFree ((char *) prev);
gdPFree ((char *) prev);
}
gdFree ((char *) head);
gdPFree ((char *) head);
}
void *