projects
/
blender.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35014aa
)
fix smoke memory leak with OpenMP disabled.
author
Campbell Barton <ideasman42@gmail.com>
Sat, 20 Nov 2010 07:40:50 +0000
(07:40 +0000)
committer
Campbell Barton <ideasman42@gmail.com>
Sat, 20 Nov 2010 07:40:50 +0000
(07:40 +0000)
intern/smoke/intern/WTURBULENCE.cpp
patch
|
blob
|
history
diff --git
a/intern/smoke/intern/WTURBULENCE.cpp
b/intern/smoke/intern/WTURBULENCE.cpp
index 917c510348aba94fbac94a394c38ccaaf9cd7ec5..1248b6957a2fc4544a24d6f02b67f2e21f6172c5 100644
(file)
--- a/
intern/smoke/intern/WTURBULENCE.cpp
+++ b/
intern/smoke/intern/WTURBULENCE.cpp
@@
-958,8
+958,8
@@
void WTURBULENCE::stepTurbulenceFull(float dtOrg, float* xvel, float* yvel, floa
for (int i = 1; i < threadval; i++)
if (maxVelMag < maxVelMagThreads[i])
maxVelMag = maxVelMagThreads[i];
- delete [] maxVelMagThreads;
#endif
+ delete [] maxVelMagThreads;
// prepare density for an advection