Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7f875ef

Browse files
committed
parser__pickler(): Use Py_DECREF() when reference is known to be non-NULL.
1 parent fcfb632 commit 7f875ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/parsermodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2704,7 +2704,7 @@ parser__pickler(self, args)
27042704
result = Py_BuildValue("O(O)", pickle_constructor, tuple);
27052705
Py_DECREF(tuple);
27062706
}
2707-
Py_XDECREF(newargs);
2707+
Py_DECREF(newargs);
27082708
}
27092709
finally:
27102710
return (result);

0 commit comments

Comments
 (0)