summaryrefslogtreecommitdiffstats
path: root/Modules/binascii.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2008-08-15 14:51:48 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2008-08-15 14:51:48 (GMT)
commit34ed9f7c5e22f8c5ebf38edff64f88842dfba245 (patch)
tree91e319943302befa23c1c611f09b11927ccb1b19 /Modules/binascii.c
parentc17517589abc2e548331904059ce49a165955e57 (diff)
downloadcpython-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)
Diffstat (limited to 'Modules/binascii.c')
-rw-r--r--Modules/binascii.c2
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 */