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
Version 2007.06.14:
[bigint/bigint.git]
/
BigUnsignedInABase.cc
diff --git
a/BigUnsignedInABase.cc
b/BigUnsignedInABase.cc
index
7745adb
..
4692a0a
100644
(file)
--- a/
BigUnsignedInABase.cc
+++ b/
BigUnsignedInABase.cc
@@
-1,6
+1,5
@@
/*
* Matt McCutchen's Big Integer Library
/*
* Matt McCutchen's Big Integer Library
-* http://mysite.verizon.net/mccutchen/bigint/
*/
/*
*/
/*
@@
-118,6
+117,7
@@
BigUnsignedInABase::operator std::string() const {
s[symbolNumInString] = char('A' + theDigit - 10);
}
std::string s2(s);
s[symbolNumInString] = char('A' + theDigit - 10);
}
std::string s2(s);
- delete s;
+ // 2006.05.03: This needs to be [] to match the allocation
+ delete [] s;
return s2;
}
return s2;
}