From 63ee77a63de7f65aa45b8280f3077bb437646f34 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 27 Apr 2011 16:02:10 +0000 Subject: [PATCH] Fixed Coverity reported issue. CID 11588: Resource leak (RESOURCE_LEAK) Calling allocation function "operator new[](unsigned long long)". Assigning: "dataPtr" = storage returned from "new unsigned char[newTotalSize]". --- src/osg/Texture.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/osg/Texture.cpp b/src/osg/Texture.cpp index fc27b3452..f10b1fd37 100644 --- a/src/osg/Texture.cpp +++ b/src/osg/Texture.cpp @@ -2255,7 +2255,6 @@ void Texture::applyTexImage2D_subload(State& state, GLenum target, const Image* { //OSG_WARN<<"Warning:: cannot subload mip mapped texture from non mipmapped image."<