aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/WriteScalar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/WriteScalar.c b/src/WriteScalar.c
index d9dfb65..413463c 100644
--- a/src/WriteScalar.c
+++ b/src/WriteScalar.c
@@ -448,8 +448,9 @@ static FILE *OpenScalarFile (const cGH *GH,
}
fprintf (file, "%c%s v time\n", comment_char, aliasname);
- free (fullname);
}
+ free (fullname);
+
return (file);
}