diff --git a/src/stores/ovStoreBuild.C b/src/stores/ovStoreBuild.C index 4d9bf40a9..4c1005b93 100644 --- a/src/stores/ovStoreBuild.C +++ b/src/stores/ovStoreBuild.C @@ -308,7 +308,8 @@ computeIIDperBucket(uint32 fileLimit, olapsPerBucketMax * GBperOlap + MEMORY_OVERHEAD / 1024.0 / 1024.0 / 1024.0); fprintf(stderr, "\n"); - delete hist; + delete [] oPR; + delete hist; return(iidToBucket); } @@ -540,6 +541,8 @@ main(int argc, char **argv) { delete inputFile; } + delete [] iidToBucket; + for (uint32 i=0; i