k_lopsided_mul(): This allocated more space for bslice than necessary.

This commit is contained in:
Tim Peters 2002-08-12 22:10:00 +00:00
parent 918af2aef7
commit 1203403743

View file

@ -1785,7 +1785,7 @@ k_lopsided_mul(PyLongObject *a, PyLongObject *b)
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;