I can't reproduce the pari message on 10.4, but your code leaks memory. This might be the opposite of memory leak: use after free. Use after free in general is considered security vulnerability.
-- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAGUWgD-%3DroXT4Nx0%3Dnjgg6z2maZq5waPOy2egj9z%2B5W-FE24eA%40mail.gmail.com.