New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak in PicoSAT extension #117

Closed
cjdrake opened this Issue Mar 17, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@cjdrake
Owner

cjdrake commented Mar 17, 2015

This section from line 361 of picosatmodule.c skips the call to picosat_reset(...), leaking the memory from the picosat instance.

    /* Prepare Python return value */
    if (result == PICOSAT_UNSATISFIABLE) {
        Py_RETURN_NONE;
    }

cjdrake added a commit that referenced this issue Mar 17, 2015

@cjdrake cjdrake closed this Mar 17, 2015

@cjdrake cjdrake added the Bug label Mar 17, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment