• Neil Conway's avatar
    Fix three Python reference leaks in PLy_traceback(). This would result · 45594a68
    Neil Conway authored
    in leaking memory when invoking a PL/Python procedure that raises an
    exception. Unfortunately this still leaks memory, but at least the
    largest leak has been plugged.
    
    This patch also fixes a reference counting mistake in PLy_modify_tuple()
    for 8.0, 8.1 and HEAD: we don't actually own a reference to `platt', so
    we shouldn't Py_DECREF() it.
    45594a68
plpython.c 61.4 KB