diff options
author | tradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2002-07-05 14:58:46 +0000 |
---|---|---|
committer | tradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2002-07-05 14:58:46 +0000 |
commit | da31b28e404a21a1bdc8470234cf8b6845d8a1fc (patch) | |
tree | 30eb236093756554349f9bc80f17b21ef9e507b0 /src/Storage.c | |
parent | e55042ea7847cd24ea89fd162c30e2c09f12b846 (diff) |
Really set deallocated data pointers for grid arrays to NULL.
Before they got allocated to a single array element.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@394 b61c5cb5-eaca-4651-9a7a-d64986f99364
Diffstat (limited to 'src/Storage.c')
-rw-r--r-- | src/Storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Storage.c b/src/Storage.c index 210b1d2..0dfb5f1 100644 --- a/src/Storage.c +++ b/src/Storage.c @@ -959,7 +959,7 @@ static int PUGH_EnableGArrayGroupStorage (pGH *pughGH, { free (GA->padddata); } - GA->padddata = calloc (1, GA->varsize); + GA->padddata = NULL; GA->data = GA->padddata; } |