X-Git-Url: https://mattmccutchen.net/bigint/bigint.git/blobdiff_plain/7b1c64847dcd13f020dfbfe63337378beb4d6dce..4f4a02c2256d1e4a45eaa9b05bcb5f85e7652bc2:/BigIntegerUtils.hh diff --git a/BigIntegerUtils.hh b/BigIntegerUtils.hh index 2f6d22f..c815b5d 100644 --- a/BigIntegerUtils.hh +++ b/BigIntegerUtils.hh @@ -65,7 +65,7 @@ BigInteger dataToBigInteger(const T* data, BigInteger::Index length, BigInteger: // Create the BigInteger. BigInteger x(blocks, numBlocks, sign); - delete blocks; + delete [] blocks; return x; }