diff options
author | tradke <tradke@b589c3ab-70e8-4b4d-a09f-cba2dd200880> | 2002-01-18 15:30:33 +0000 |
---|---|---|
committer | tradke <tradke@b589c3ab-70e8-4b4d-a09f-cba2dd200880> | 2002-01-18 15:30:33 +0000 |
commit | d7fe8a33f2937629e7967b7a2eae998c40dd8e68 (patch) | |
tree | 646c55e5c570226ea45eaaadacf66949c63cb860 /src/WriteScalar.c | |
parent | feb8726f2ab8a7004de5a3a9117d91d916ca86ae (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/WriteScalar.c')
-rw-r--r-- | src/WriteScalar.c | 3 |
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); } |