mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-05-09 07:28:40 +02:00
* src/base/ftutil.c (FT_List_Finalize): Delay reading 'data'.
Fixes #1376.
This commit is contained in:
parent
6a25214ae9
commit
e63975ca64
1 changed files with 1 additions and 2 deletions
|
|
@ -424,11 +424,10 @@
|
|||
while ( cur )
|
||||
{
|
||||
FT_ListNode next = cur->next;
|
||||
void* data = cur->data;
|
||||
|
||||
|
||||
if ( destroy )
|
||||
destroy( memory, data, user );
|
||||
destroy( memory, cur->data, user );
|
||||
|
||||
FT_FREE( cur );
|
||||
cur = next;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue