[PATCH 7/7] python: wrap and use notmuch_database_destroy as destructor
Sebastian Spaeth
Sebastian at SSpaeth.de
Fri Apr 20 06:10:04 PDT 2012
Austin Clements <amdragon at MIT.EDU> writes:
> (I think it also doesn't make sense to expose notmuch_database_destroy
> as a general, public method since it will free all of the other C
> objects out from under the bindings, resulting in exactly the double
> free-type crashes that you're trying to avoid. It appears that none
> of the other Python classes have a destroy method.)
Agreed, that sounds right to me.
Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120420/c8304b69/attachment-0001.pgp>
More information about the notmuch
mailing list