mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 16:07:30 +03:00 
			
		
		
		
	Merge pull request #7549 from radarhere/imagefont_memory
This commit is contained in:
		
						commit
						93d5f8b45b
					
				|  | @ -885,7 +885,9 @@ font_render(FontObject *self, PyObject *args) { | |||
|         PyMem_Del(glyph_info); | ||||
|         return NULL; | ||||
|     } | ||||
|     id = PyLong_AsSsize_t(PyObject_GetAttrString(image, "id")); | ||||
|     PyObject *imageId = PyObject_GetAttrString(image, "id"); | ||||
|     id = PyLong_AsSsize_t(imageId); | ||||
|     Py_XDECREF(imageId); | ||||
|     im = (Imaging)id; | ||||
| 
 | ||||
|     x_offset -= stroke_width; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user