#18897: Memory leak in polynomial_compiled.univar_pd
-------------------------+-------------------------------------------------
Reporter: | Owner:
slabbe | Status: needs_review
Type: | Milestone: sage-6.8
defect | Resolution:
Priority: major | Merged in:
Component: | Reviewers:
memleak | Work issues:
Keywords: | Commit:
Authors: Simon | 720de3bf96d4e72965581bbf5ad372e94fe61237
King | Stopgaps:
Report Upstream: N/A |
Branch: |
public/18897 |
Dependencies: |
-------------------------+-------------------------------------------------
Comment (by SimonKing):
Replying to [comment:18 SimonKing]:
> Replying to [comment:14 dimpase]:
> > the following looks more logical to me (diff over your patch):
>
> I wanted the change to be as small as possible. But I wouldn't oppose to
have all checks done in `binary_tree_dealloc`:
PS: And then of course `BinaryTree.__dealloc__` simply becomes
{{{
#!python
def __dealloc__(self):
binary_tree_dealloc(self.head)
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/18897#comment:19>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.