[Biopython-dev] [Bug 2924] memory leak in cnexus.c

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Tue Oct 6 04:18:45 EDT 2009


http://bugzilla.open-bio.org/show_bug.cgi?id=2924





------- Comment #1 from mdehoon at ims.u-tokyo.ac.jp  2009-10-06 04:18 EST -------
I think this really is a bug. The problem is in line 91:

    return Py_BuildValue("s",scanned_start);

This should be something like:

    PyObject* result = Py_BuildValue("s",scanned_start);
    free(scanned);
    return result;

Frank, if you agree, could you make this change?


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Biopython-dev mailing list