diff options
Diffstat (limited to 'ffi/lang/python/sequoia')
-rw-r--r-- | ffi/lang/python/sequoia/openpgp.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ffi/lang/python/sequoia/openpgp.py b/ffi/lang/python/sequoia/openpgp.py index 7b36ba01..a2b8e1fd 100644 --- a/ffi/lang/python/sequoia/openpgp.py +++ b/ffi/lang/python/sequoia/openpgp.py @@ -160,7 +160,8 @@ class ArmorWriter(AbstractWriter): return aw def close(self): - super(ArmorWriter, self)._delete() + invoke(lib.pgp_armor_writer_finalize, self.ref()) + super(ArmorWriter, self)._delete(skip_free=True) self.inner.close() class Tag(Enum): |