summaryrefslogtreecommitdiff
path: root/src/particleemitter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/particleemitter.cpp')
-rw-r--r--src/particleemitter.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/particleemitter.cpp b/src/particleemitter.cpp
index 5f107abb7..ad67d622b 100644
--- a/src/particleemitter.cpp
+++ b/src/particleemitter.cpp
@@ -446,9 +446,13 @@ ParticleEmitter::~ParticleEmitter()
if (*i)
(*i)->decRef();
}
+ mTempSets.clear();
if (mParticleImage)
+ {
mParticleImage->decRef();
+ mParticleImage = 0;
+ }
}