Skip to content

Commit d3bf70c

Browse files
authored
Update Modules/pyexpat.c
1 parent b74a339 commit d3bf70c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modules/pyexpat.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,7 @@ invalid_expat_handler_rv(const char *name)
517517
if (res == NULL) {
518518
goto error;
519519
}
520+
Py_DECREF(res);
520521
goto done;
521522

522523
error:

0 commit comments

Comments
 (0)