mirror of
https://github.com/glest/glest-source.git
synced 2025-09-25 23:19:07 +02:00
- fixed a bunch of memory leaks that will hopefully mean less overall memory requirements.
This commit is contained in:
@@ -83,6 +83,9 @@ ParticleSystem::~ParticleSystem(){
|
||||
|
||||
//delete [] particles;
|
||||
particles.clear();
|
||||
|
||||
delete particleObserver;
|
||||
particleObserver = NULL;
|
||||
}
|
||||
|
||||
// =============== VIRTUAL ======================
|
||||
|
Reference in New Issue
Block a user