diff options
author | tradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2002-06-26 14:30:38 +0000 |
---|---|---|
committer | tradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2002-06-26 14:30:38 +0000 |
commit | 32876a143acdab85fd33253ba1340be437923810 (patch) | |
tree | 0f6a1914da2534a327a071b2d59d17a7af041504 /src | |
parent | aace0e55969a53c9c1e610e8effdae75bfdc0037 (diff) |
Fixed a bug where GH->data[] pointers for certain timelevels were assigned
to NULL even if storage was not deallocated for them.
This closes PR CactusWave/1105.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@390 b61c5cb5-eaca-4651-9a7a-d64986f99364
Diffstat (limited to 'src')
-rw-r--r-- | src/Storage.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Storage.c b/src/Storage.c index d4b249d..c0a3ec9 100644 --- a/src/Storage.c +++ b/src/Storage.c @@ -1486,17 +1486,16 @@ static int PUGHi_DisableGArrayGroupStorage (pGH *pughGH, fflush (stdout); #endif PUGH_DisableGArrayDataStorage (GA); - } + /* set the variable's data pointer in the cGH structure */ + ((cGH *) pughGH->callerid)->data[var][level] = NULL; + } nstorage++; } else { nnostorage++; } - - /* set the variable's data pointer in the cGH structure */ - ((cGH *) pughGH->callerid)->data[var][level] = NULL; } } |