diff options
author | tradke <tradke@0888f3d4-9f52-45d2-93bc-d00801ff5e46> | 2005-07-26 15:03:05 +0000 |
---|---|---|
committer | tradke <tradke@0888f3d4-9f52-45d2-93bc-d00801ff5e46> | 2005-07-26 15:03:05 +0000 |
commit | dd90bd186d421c20fb7e599a4e4360655d06617d (patch) | |
tree | 3e8e566ec72d915946d407c113ccd0d216ef804b | |
parent | 48ba45ddef6b3be05a18a82bb9a3039044d8a13e (diff) |
Fixed small memory when using Util_snprintf().
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOStreamedHDF5/trunk@112 0888f3d4-9f52-45d2-93bc-d00801ff5e46
-rw-r--r-- | src/Output.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Output.c b/src/Output.c index 5e3374d..7e6400a 100644 --- a/src/Output.c +++ b/src/Output.c @@ -317,7 +317,9 @@ void IOStreamedHDF5_CheckSteerableParameters (const cGH *GH, } else { + char *tmp = msg; Util_asprintf (&msg, "%s, '%s'", msg, fullname); + free (tmp); } free (fullname); } |