Issue #18227: "Free" function of bz2, lzma and zlib modules has no return value (void)

This commit is contained in:
Victor Stinner 2013-07-07 17:10:34 +02:00
parent 11ebff2757
commit b7f1f65f1c
3 changed files with 3 additions and 3 deletions

View file

@ -149,7 +149,7 @@ PyZlib_Malloc(voidpf ctx, uInt items, uInt size)
static void
PyZlib_Free(voidpf ctx, void *ptr)
{
return PyMem_RawFree(ptr);
PyMem_RawFree(ptr);
}
PyDoc_STRVAR(compress__doc__,