Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

That code shouldn't leak, but I confirm that it does. That's a bug! please file a ticket.

(the leak is not on the python heap; I checked that. It's probably a malloc/free mismatch somewhere in a C library). Also, when I change GF(2) to GF(3), no leak seems to occur. Matrices over GF(2) indeed have their own implementation.