Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2007-10-28 09:18:52 +0000
committerStijn Buys <ingar@osirion.org>2007-10-28 09:18:52 +0000
commit795ec263875665e530458c7d95a1fb0242d55f8f (patch)
tree16db7cf6d30fc12939c9e7ca9c4e96baba0ecb12 /src
parentaa50057b86c35de70ed87921ecdb1288e7e17e41 (diff)
fixed memory leak
Diffstat (limited to 'src')
-rw-r--r--src/gl/sphere.cc4
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)