]> granicus.if.org Git - python/commit
Fix leak of NotImplemented in previous checkin to PyNumber_Add().
authorJeremy Hylton <jeremy@alum.mit.edu>
Fri, 8 Mar 2002 21:28:54 +0000 (21:28 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Fri, 8 Mar 2002 21:28:54 +0000 (21:28 +0000)
commit0522d9891aec9b7d49049a8a47b687c81929e02d
tree5d50a44b2884fa096399230347975bbaadd26e4c
parent6ae6a43a77e3170cc952d182b67533b560eb6dbe
Fix leak of NotImplemented in previous checkin to PyNumber_Add().

If result == Py_NotImplemented, always DECREF it before assigning a
new value to result.
Objects/abstract.c