[SCM] OCE packaging branch, upstream, updated. OCE-0.6.0-230-g17bea23
tpaviot
tpaviot at gmail.com
Fri Feb 24 18:50:32 UTC 2012
The following commit has been merged in the upstream branch:
commit 680db2cd12c9213f26d7ec2764648ee974504b1b
Author: tpaviot <tpaviot at gmail.com>
Date: Fri Jan 13 06:21:56 2012 +0100
[cppcheck-error-fix][mismatch-allocation-deallocation]
[CDM/CDM_COutMessageDriver.cxx:37]: (error) Mismatching allocation and deallocation: anAsciiString
diff --git a/src/CDM/CDM_COutMessageDriver.cxx b/src/CDM/CDM_COutMessageDriver.cxx
index 44817aa..188baa3 100644
--- a/src/CDM/CDM_COutMessageDriver.cxx
+++ b/src/CDM/CDM_COutMessageDriver.cxx
@@ -34,5 +34,5 @@ void CDM_COutMessageDriver::Write (const Standard_ExtString aString)
// Output
cout << anAsciiString << flush;
- delete anAsciiString;
+ delete [] anAsciiString;
}
--
OCE packaging
More information about the debian-science-commits
mailing list