diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2008-08-15 14:51:48 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2008-08-15 14:51:48 (GMT) |
commit | 34ed9f7c5e22f8c5ebf38edff64f88842dfba245 (patch) | |
tree | 91e319943302befa23c1c611f09b11927ccb1b19 | |
parent | c17517589abc2e548331904059ce49a165955e57 (diff) | |
download | cpython-34ed9f7c5e22f8c5ebf38edff64f88842dfba245.zip cpython-34ed9f7c5e22f8c5ebf38edff64f88842dfba245.tar.gz cpython-34ed9f7c5e22f8c5ebf38edff64f88842dfba245.tar.bz2 |
Fix building binascii when not using the zlib's crc32 (build failure on Windows buildbots)
-rw-r--r-- | Modules/binascii.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/binascii.c b/Modules/binascii.c index 3c27fd6..82c1423 100644 --- a/Modules/binascii.c +++ b/Modules/binascii.c @@ -1028,7 +1028,7 @@ binascii_crc32(PyObject *self, PyObject *args) } result = (crc ^ 0xFFFFFFFF); - PyBuffer_Release(&pbuf); + PyBuffer_Release(&pbin); return PyLong_FromUnsignedLong(result & 0xffffffff); } #endif /* USE_ZLIB_CRC32 */ |