diff options
author | Stijn Buys <ingar@osirion.org> | 2007-10-28 09:18:52 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2007-10-28 09:18:52 +0000 |
commit | 795ec263875665e530458c7d95a1fb0242d55f8f (patch) | |
tree | 16db7cf6d30fc12939c9e7ca9c4e96baba0ecb12 | |
parent | aa50057b86c35de70ed87921ecdb1288e7e17e41 (diff) |
fixed memory leak
-rw-r--r-- | src/gl/sphere.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gl/sphere.cc b/src/gl/sphere.cc index bd724f5..1c21ee5 100644 --- a/src/gl/sphere.cc +++ b/src/gl/sphere.cc @@ -29,8 +29,8 @@ Sphere::Sphere(Vector3f p , float r) Sphere::~Sphere() { - delete sintable; - delete costable; + delete[] sintable; + delete[] costable; } Sphere::Sphere(const Sphere &other) |