diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-11-06 02:53:59 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-11-06 02:53:59 +0000 |
commit | 6ec578b25a18e034249438afab909281d6cf79b7 (patch) | |
tree | fdf81bf52c3e6f6d57974cf4aa3e25f40a05a703 /src/comm | |
parent | 0591737d5dc63666aa34b5946c300eb9e56cc4b8 (diff) |
Freeing groupname after usage in CCTK_SyncGroupI().
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1135 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/comm')
-rw-r--r-- | src/comm/CactusSync.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/comm/CactusSync.c b/src/comm/CactusSync.c index df06093f..59eb77b9 100644 --- a/src/comm/CactusSync.c +++ b/src/comm/CactusSync.c @@ -20,7 +20,10 @@ @@*/ void CCTK_SyncGroupI(cGH *GH, int gi) { - CCTK_SyncGroup(GH,CCTK_GroupName(gi)); + char *groupname = CCTK_GroupName(gi); + + CCTK_SyncGroup(GH,groupname); + free(groupname); } void FMODIFIER FORTRAN_NAME(CCTK_SyncGroupI)(cGH *GH, int *gi) { |