aboutsummaryrefslogtreecommitdiff
path: root/src/Output2D.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Output2D.c')
-rw-r--r--src/Output2D.c2
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);
}