diff options
author | tradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 1999-07-30 17:12:33 +0000 |
---|---|---|
committer | tradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 1999-07-30 17:12:33 +0000 |
commit | 317992b79e5f46cd3dc767462b4ddefe2c89792c (patch) | |
tree | 3bfef5746d4129d4928ad6fb34a463aef7d4417c /src/DumpVar.c | |
parent | ca2e1f0feae534517fc7cf571d48085edd685e14 (diff) |
Free the string returned by CCTK_GroupNameFromVarI after usage
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@25 ebee0441-1374-4afa-a3b5-247f3ba15b9a
Diffstat (limited to 'src/DumpVar.c')
-rw-r--r-- | src/DumpVar.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/DumpVar.c b/src/DumpVar.c index 11bcddd..29a90d9 100644 --- a/src/DumpVar.c +++ b/src/DumpVar.c @@ -529,6 +529,7 @@ void IOFlexIO_AddCommonAttributes (cGH *GH, int index, int timelevel, gname = CCTK_GroupNameFromVarI (index); CACTUS_IEEEIO_ERROR (IOwriteAttribute (iof, "groupname", BYTE, strlen (gname) + 1, gname)); + free (gname); i_to_IO = CCTK_GroupTypeFromVarI (index); CACTUS_IEEEIO_ERROR (IOwriteAttribute (iof, "grouptype", FLEXIO_INT4, |