diff options
author | tradke <tradke@38c3d835-c875-442e-b0fe-21c19ce1d001> | 2005-07-26 15:03:05 +0000 |
---|---|---|
committer | tradke <tradke@38c3d835-c875-442e-b0fe-21c19ce1d001> | 2005-07-26 15:03:05 +0000 |
commit | 7beed973e5279ba6b2bd087d9e13a911cf2869b4 (patch) | |
tree | 4a6c3f5495701583d02676c3aa02974ff8a686ce | |
parent | 6d71eaefe8b6e91e5568b8c99acba0d35380aeb1 (diff) |
Fixed small memory when using Util_snprintf().
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOPanda/trunk@77 38c3d835-c875-442e-b0fe-21c19ce1d001
-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 d04cf49..9d72097 100644 --- a/src/Output.c +++ b/src/Output.c @@ -370,7 +370,9 @@ void IOPanda_CheckSteerableParameters (const cGH *GH) } else { + char *tmp = msg; Util_asprintf (&msg, "%s, '%s'", msg, fullname); + free (tmp); } free (fullname); } |