summaryrefslogtreecommitdiffstats
path: root/Modules/_bz2module.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-07-07 15:10:34 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-07-07 15:10:34 (GMT)
commitb7f1f65f1c1c0b80e613f5fbf3a4ed3e3e2c72f9 (patch)
tree1537dc1610792fad54296f333f32d3aee2b873d3 /Modules/_bz2module.c
parent11ebff2757517f6edf8c4b35d6c77b7052295acb (diff)
downloadcpython-b7f1f65f1c1c0b80e613f5fbf3a4ed3e3e2c72f9.zip
cpython-b7f1f65f1c1c0b80e613f5fbf3a4ed3e3e2c72f9.tar.gz
cpython-b7f1f65f1c1c0b80e613f5fbf3a4ed3e3e2c72f9.tar.bz2
Issue #18227: "Free" function of bz2, lzma and zlib modules has no return value (void)
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 a67aec5..abc4d5d 100644
--- a/Modules/_bz2module.c
+++ b/Modules/_bz2module.c
@@ -263,7 +263,7 @@ BZ2_Malloc(void* ctx, int items, int size)
static void
BZ2_Free(void* ctx, void *ptr)
{
- return PyMem_RawFree(ptr);
+ PyMem_RawFree(ptr);
}
static int