diff options
| author | Antoine Pitrou <solipsis@pitrou.net> | 2008-08-15 14:51:48 +0000 |
|---|---|---|
| committer | Antoine Pitrou <solipsis@pitrou.net> | 2008-08-15 14:51:48 +0000 |
| commit | 34ed9f7c5e22f8c5ebf38edff64f88842dfba245 (patch) | |
| tree | 91e319943302befa23c1c611f09b11927ccb1b19 /Modules | |
| parent | c17517589abc2e548331904059ce49a165955e57 (diff) | |
| download | cpython-git-34ed9f7c5e22f8c5ebf38edff64f88842dfba245.tar.gz | |
Fix building binascii when not using the zlib's crc32 (build failure on Windows buildbots)
Diffstat (limited to 'Modules')
| -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 3c27fd6650..82c14234c4 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 */ |
