]> granicus.if.org Git - python/commitdiff
parser__pickler(): Use Py_DECREF() when reference is known to be non-NULL.
authorFred Drake <fdrake@acm.org>
Tue, 4 Aug 1998 15:58:10 +0000 (15:58 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 4 Aug 1998 15:58:10 +0000 (15:58 +0000)
Modules/parsermodule.c

index eba64a444f0685158871311bccf6f475adf3282d..cd8381ca50d5ad512ebe5c4271a7158fa984d681 100644 (file)
@@ -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);