commit | 120340374383e4f246fe71e7013a7711104bb8a9 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Mon Aug 12 22:10:00 2002 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Mon Aug 12 22:10:00 2002 +0000 |
tree | 1895cad552c5c6a23d4b7168f1a34222b72e9cbf | |
parent | 918af2aef717a3f9db50bcd0752672916556dfa0 [diff] [blame] |
k_lopsided_mul(): This allocated more space for bslice than necessary.
diff --git a/Objects/longobject.c b/Objects/longobject.c index 3cc6f13..bb02c9c 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c
@@ -1785,7 +1785,7 @@ memset(ret->ob_digit, 0, ret->ob_size * sizeof(digit)); /* Successive slices of b are copied into bslice. */ - bslice = _PyLong_New(bsize); + bslice = _PyLong_New(asize); if (bslice == NULL) goto fail;