diff options
author | tradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 2005-07-26 15:03:04 +0000 |
---|---|---|
committer | tradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 2005-07-26 15:03:04 +0000 |
commit | 8bcbcdf8830366b8f789d4e5c3a4dd8514aead14 (patch) | |
tree | e652778fca8d3d079b5f7bdb902294f24ebf83b2 /src/Output2D.c | |
parent | cd0851b03d3adebdd32ea4c95cde4f9f0489130c (diff) |
Fixed small memory when using Util_snprintf().
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@337 ebee0441-1374-4afa-a3b5-247f3ba15b9a
Diffstat (limited to 'src/Output2D.c')
-rw-r--r-- | src/Output2D.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Output2D.c b/src/Output2D.c index 4f1ee8e..0cc6234 100644 --- a/src/Output2D.c +++ b/src/Output2D.c @@ -306,7 +306,9 @@ void IOFlexIO_CheckSteerableParameters2D (flexioGH *myGH) } else { + char *tmp = msg; Util_asprintf (&msg, "%s, '%s'", msg, fullname); + free (tmp); } free (fullname); } |