Commits

Britton Smith  committed 1826c4e

Changing how an attributed is initialized to avoid a memory leak.

  • Participants
  • Parent commits ae43cb4

Comments (0)

Files changed (1)

File src/enzo/Grid_constructor.C

   SubgridsAreStatic                     = FALSE;
   ProcessorNumber                       = ROOT_PROCESSOR;
 
-  SubgridFluxStorage = new fluxes* [1];
+  SubgridFluxStorage = NULL;
   NumberOfSubgrids = 1;
  
   /* clear MAX_DIMENSION vectors */