Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType
Commits:
-
982bc838
by Alexei Podtelezhnikov (Алексей Подтележников) at 2024-04-21T15:53:05-04:00
2 changed files:
Changes:
... | ... | @@ -34,11 +34,7 @@ |
34 | 34 | FT_Memory memory = cache->memory;
|
35 | 35 | |
36 | 36 | |
37 | - if ( inode->glyph )
|
|
38 | - {
|
|
39 | - FT_Done_Glyph( inode->glyph );
|
|
40 | - inode->glyph = NULL;
|
|
41 | - }
|
|
37 | + FT_Done_Glyph( inode->glyph );
|
|
42 | 38 | |
43 | 39 | FTC_GNode_Done( FTC_GNODE( inode ), cache );
|
44 | 40 | FT_FREE( inode );
|
... | ... | @@ -448,18 +448,13 @@ |
448 | 448 | {
|
449 | 449 | cache->clazz.cache_done( cache );
|
450 | 450 | FT_FREE( cache );
|
451 | - manager->caches[idx] = NULL;
|
|
452 | 451 | }
|
453 | 452 | }
|
454 | - manager->num_caches = 0;
|
|
455 | 453 | |
456 | 454 | /* discard faces and sizes */
|
457 | 455 | FTC_MruList_Done( &manager->sizes );
|
458 | 456 | FTC_MruList_Done( &manager->faces );
|
459 | 457 | |
460 | - manager->library = NULL;
|
|
461 | - manager->memory = NULL;
|
|
462 | - |
|
463 | 458 | FT_FREE( manager );
|
464 | 459 | }
|
465 | 460 |