I guess you want to free the memory allocated here: * https://github.com/sagemath/sage/blob/master/src/sage/libs/eclib/newforms.pyx#L112
You should add a __dealloc__ method to your class and free the memory there: * http://docs.cython.org/en/latest/src/userguide/special_methods.html#finalization-method-dealloc You can just use the Python "del" operator and Cython should translate it to a destructor call. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.