aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortradke <tradke@b589c3ab-70e8-4b4d-a09f-cba2dd200880>2002-01-18 15:30:33 +0000
committertradke <tradke@b589c3ab-70e8-4b4d-a09f-cba2dd200880>2002-01-18 15:30:33 +0000
commitd7fe8a33f2937629e7967b7a2eae998c40dd8e68 (patch)
tree646c55e5c570226ea45eaaadacf66949c63cb860 /src
parentfeb8726f2ab8a7004de5a3a9117d91d916ca86ae (diff)
Fixed small memory leak.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOBasic/trunk@111 b589c3ab-70e8-4b4d-a09f-cba2dd200880
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);
}