From 6b61a8eed1db17e93a0849ffa16e130a70471110 Mon Sep 17 00:00:00 2001 From: ehofman Date: Fri, 28 Jan 2005 15:15:23 +0000 Subject: [PATCH] use a proper delete[] --- simgear/screen/texture.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simgear/screen/texture.cxx b/simgear/screen/texture.cxx index 184f6e2d..56fd9540 100644 --- a/simgear/screen/texture.cxx +++ b/simgear/screen/texture.cxx @@ -49,7 +49,7 @@ SGTexture::SGTexture(unsigned int width, unsigned int height) SGTexture::~SGTexture() { - delete texture_data; + delete[] texture_data; if ( texture_id != 0 ) { free_id();