aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@4825ed28-b72c-4eae-9704-e50c059e567d>2005-07-26 15:03:04 +0000
committertradke <tradke@4825ed28-b72c-4eae-9704-e50c059e567d>2005-07-26 15:03:04 +0000
commit4237a7cb52b5f0c0a8ce1618bbafee17acda8efe (patch)
tree538697ad775a3350096592259965bddac2b46610
parent624616b1ee657ea3f0f783cc15d563f13fe87665 (diff)
Fixed small memory when using Util_snprintf().
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5/trunk@219 4825ed28-b72c-4eae-9704-e50c059e567d
-rw-r--r--src/Output.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Output.c b/src/Output.c
index 93f2d11..25e8560 100644
--- a/src/Output.c
+++ b/src/Output.c
@@ -328,7 +328,9 @@ void IOHDF5_CheckSteerableParameters (const cGH *GH, ioHDF5GH *myGH)
}
else
{
+ char *tmp = msg;
Util_asprintf (&msg, "%s, '%s'", msg, fullname);
+ free (tmp);
}
free (fullname);
}