diff options
-rw-r--r-- | src/IsoSurfacerInit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IsoSurfacerInit.c b/src/IsoSurfacerInit.c index 5b34c91..7fb1981 100644 --- a/src/IsoSurfacerInit.c +++ b/src/IsoSurfacerInit.c @@ -85,7 +85,7 @@ int IsoSurfacer_InitGH (cGH *GH){ for(i=0,n=CCTK_NumVars();i<n;i++){ char *fullname = CCTK_FullName (i); if(CCTK_Equals (fullname, output_var)) - myGH->funcName=fullname; + myGH->funcName=strdup (fullname); /* Maybe even set the GF here ? */ free(fullname); } |