From: Fred Drake Date: Tue, 4 Aug 1998 15:58:10 +0000 (+0000) Subject: parser__pickler(): Use Py_DECREF() when reference is known to be non-NULL. X-Git-Tag: v1.5.2a1~160 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7f875ef74993a32e6206d728677be29ab43e719d;p=thirdparty%2FPython%2Fcpython.git parser__pickler(): Use Py_DECREF() when reference is known to be non-NULL. --- diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c index eba64a444f06..cd8381ca50d5 100644 --- a/Modules/parsermodule.c +++ b/Modules/parsermodule.c @@ -2704,7 +2704,7 @@ parser__pickler(self, args) result = Py_BuildValue("O(O)", pickle_constructor, tuple); Py_DECREF(tuple); } - Py_XDECREF(newargs); + Py_DECREF(newargs); } finally: return (result);