Skip to content

Commit

Permalink
move DECREF io_module to the right spot
Browse files Browse the repository at this point in the history
  • Loading branch information
gpshead committed Nov 1, 2023
1 parent a1186c9 commit fd53745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/_xxtestfuzz/fuzzer.c
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,8 @@ static int init_elementtree_parsewhole(void) {
if (io_module == NULL) {
return 0;
}
Py_DECREF(io_module);
bytesio_type = PyObject_GetAttrString(io_module, "BytesIO");
Py_DECREF(io_module);
if (bytesio_type == NULL) {
return 0;
}
Expand Down

1 comment on commit fd53745

@bradlarsen
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Please sign in to comment.