summaryrefslogtreecommitdiffstats
path: root/Modules/_lzmamodule.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/_lzmamodule.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/_lzmamodule.c')
-rw-r--r--Modules/_lzmamodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_lzmamodule.c b/Modules/_lzmamodule.c
index 711604d..5d610bf 100644
--- a/Modules/_lzmamodule.c
+++ b/Modules/_lzmamodule.c
@@ -132,7 +132,7 @@ PyLzma_Malloc(void *opaque, size_t items, size_t size)
static void
PyLzma_Free(void *opaque, void *ptr)
{
- return PyMem_RawFree(ptr);
+ PyMem_RawFree(ptr);
}
#if BUFSIZ < 8192