Pillow icon indicating copy to clipboard operation
Pillow copied to clipboard

Fix memory leaks related to text features

Open nulano opened this issue 2 years ago • 0 comments

Changes proposed in this pull request:

  • Add Py_DECREF calls for seq and bytes. Fixes #6321.
  • Remove duplicate PyUnicode_Check(item) call.
  • PySequence_Size(seq) can be changed to faster PySequence_Fast_GET_SIZE(seq) because seq was returned from PySequence_Fast.

nulano avatar May 24 '22 16:05 nulano