diff options
author | tradke <tradke@eff87b29-5268-4891-90a3-a07138403961> | 2005-07-26 15:03:23 +0000 |
---|---|---|
committer | tradke <tradke@eff87b29-5268-4891-90a3-a07138403961> | 2005-07-26 15:03:23 +0000 |
commit | 5ddaa33cf638637596371ca68d19191350ac255d (patch) | |
tree | ba9706fd87d1af9f1077ee36f17be0b5b9178186 | |
parent | dc2b1879b91b689cd4f6729433a5c33a858ec13d (diff) |
Fixed small memory when using Util_snprintf().
git-svn-id: http://svn.cactuscode.org/arrangements/CactusIO/IOJpeg/trunk@113 eff87b29-5268-4891-90a3-a07138403961
-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 7241277..312e4ca 100644 --- a/src/Output.c +++ b/src/Output.c @@ -298,7 +298,9 @@ void IOJpeg_CheckSteerableParameters (ioJpegGH *myGH) } else { + char *tmp = msg; Util_asprintf (&msg, "%s, '%s'", msg, fullname); + free (tmp); } free (fullname); } |