Matt McCutchen's Web Site
/
bigint
/
bigint.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dataToBigInteger: Change a `delete' to `delete []'.
[bigint/bigint.git]
/
BigIntegerUtils.hh
diff --git
a/BigIntegerUtils.hh
b/BigIntegerUtils.hh
index
2f6d22f
..
c815b5d
100644
(file)
--- 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;
}