Release L_COMP_DATA properly

This commit is contained in:
James R. Barlow
2018-04-13 23:53:41 -07:00
parent b7d403f106
commit 8c4023165a
+2 -1
View File
@@ -506,7 +506,8 @@ class CompressedData:
@staticmethod
def _destroy(compdata):
lept.lept_free(compdata)
pp = ffi.new('L_COMP_DATA **', compdata)
lept.l_CIDataDestroy(pp)
class Box: