On 2017-01-09 16:45, Jean-Pierre Flori wrote:
I guess you want to free the memory allocated here: * https://github.com/sagemath/sage/blob/master/src/sage/libs/eclib/newforms.pyx#L112
Alternatively, instead of a pointer you could store the object itself in the Python class. Then you wouldn't use new and wouldn't need to delete anything. I'm not at all saying that this is the best option, it's just something to consider...
-- 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.