#4 Memleaks and Refcount corruptions

closed-accepted
nobody
None
5
2001-04-22
2001-04-17
Anonymous
No

There were a couple memoryleaks and reference count
corruptions in some of the functions. This was only
happening on the NON-numeric version of
_openglmodule.c, since these functions were calling
Py_DECREF() to free objects, instead of the
PyArray_ClearMemory macro that is required.

This change effects the glMap*, glRect*, and
glClipPlane functions.

Discussion

  • Mike C. Fletcher

    • status: open --> closed-accepted
     
  • Mike C. Fletcher

    Logged In: YES
    user_id=34901

    Added to _openglmodule.c, tested with Python 1.5.2, would
    like to have a test to actually check the leak/corruption
    (and lack thereof after the patch).

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks