diff options
author | Thomas Radke <tradke@aei.mpg.de> | 2005-07-26 12:23:00 +0000 |
---|---|---|
committer | Thomas Radke <tradke@aei.mpg.de> | 2005-07-26 12:23:00 +0000 |
commit | 4b4e7cee5c2580bcf3b47b6af99b0e5bf0e5c9c5 (patch) | |
tree | ad85a3fabb110c510b4a6944405c10c76615d25e /Carpet/CarpetLib/param.ccl | |
parent | 7870aa2629814950096dbb9981405b5d4b0efd73 (diff) |
Carpet{IOScalar,IOHDF5,IOStreamedHDF5}: use C++ strings (rather than Util_asprintf()) to construct C output strings
There was a small memory leak in using Util_asprintf() to continuously append
to an allocated string buffer. The code has now been rewritten to use C++ string
class objects which are destroyed automatically.
This closes http://bugs.carpetcode.org/show_bug.cgi?id=89.
darcs-hash:20050726122331-776a0-874ccd0d5766b85b1110fcd6f501a7e39c35e965.gz
Diffstat (limited to 'Carpet/CarpetLib/param.ccl')
0 files changed, 0 insertions, 0 deletions