mirror of
git://git.sv.nongnu.org/freetype/freetype2.git
synced 2026-01-19 04:52:09 +00:00
* src/base/ftutil.c (FT_List_Finalize): Delay reading 'data'.
Fixes #1376.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user