From 7f875ef74993a32e6206d728677be29ab43e719d Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Tue, 4 Aug 1998 15:58:10 +0000 Subject: parser__pickler(): Use Py_DECREF() when reference is known to be non-NULL. --- Modules/parsermodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c index eba64a4..cd8381c 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); -- cgit v0.12