Smoke: fixing 8MB memleak
authorDaniel Genrich <daniel.genrich@gmx.net>
Sun, 2 Aug 2009 15:57:19 +0000 (15:57 +0000)
committerDaniel Genrich <daniel.genrich@gmx.net>
Sun, 2 Aug 2009 15:57:19 +0000 (15:57 +0000)
intern/smoke/intern/WAVELET_NOISE.h

index ccb540f6d4dbe704a359108ae4bb2df90be694ce..493ed1642fc123c389af20204d8dcb86c30b34dc 100644 (file)
@@ -323,6 +323,7 @@ static void generateTile_WAVELET(float* const noiseTileData, std::string filenam
        saveTile(noise3, filename); 
        delete[] temp13;
        delete[] temp23;
+       delete[] noise3;
        std::cout <<"Generating new 3d noise done\n";
 }