summaryrefslogtreecommitdiffstats
path: root/Modules/bz2module.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/bz2module.c')
-rw-r--r--Modules/bz2module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/bz2module.c b/Modules/bz2module.c
index 1fb6665..9289a02 100644
--- a/Modules/bz2module.c
+++ b/Modules/bz2module.c
@@ -1388,7 +1388,7 @@ BZ2File_dealloc(BZ2FileObject *self)
break;
}
Util_DropReadAhead(self);
- Py_DECREF(self->file);
+ Py_XDECREF(self->file);
self->ob_type->tp_free((PyObject *)self);
}