mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 07:57:27 +03:00 
			
		
		
		
	Freeing glyph, fixes #446
This commit is contained in:
		
							parent
							
								
									404b245d89
								
							
						
					
					
						commit
						ed8cede51e
					
				|  | @ -241,6 +241,7 @@ font_getsize(FontObject* self, PyObject* args) | |||
|             yoffset = face->glyph->metrics.horiBearingY; | ||||
|              | ||||
|         last_index = index; | ||||
|         FT_Done_Glyph(glyph); | ||||
|     } | ||||
| 
 | ||||
|     if (face) { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user