mirror of
https://github.com/php/php-src.git
synced 2024-11-26 03:16:33 +08:00
Fixed segfaults
This commit is contained in:
parent
1827a58de0
commit
57e4b81d13
@ -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 *
|
||||
|
Loading…
Reference in New Issue
Block a user