summaryrefslogtreecommitdiff
path: root/src/imageparticle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/imageparticle.cpp')
-rw-r--r--src/imageparticle.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imageparticle.cpp b/src/imageparticle.cpp
index 0f52135c9..ca220bcc4 100644
--- a/src/imageparticle.cpp
+++ b/src/imageparticle.cpp
@@ -60,6 +60,7 @@ ImageParticle::~ImageParticle()
ImageParticle::imageParticleCountByName[name] --;
mImage->decRef();
+ mImage = 0;
}
setMap(0);
}