From: ehofman Date: Fri, 28 Jan 2005 15:15:23 +0000 (+0000) Subject: use a proper delete[] X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6b61a8eed1db17e93a0849ffa16e130a70471110;p=simgear.git use a proper delete[] --- 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();