From 795ec263875665e530458c7d95a1fb0242d55f8f Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 28 Oct 2007 09:18:52 +0000 Subject: fixed memory leak --- src/gl/sphere.cc | 4 ++-- 1 file 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) -- cgit v1.2.3