From e02b38778a8c3f5663cfac192c4e7c3a9d771ceb Mon Sep 17 00:00:00 2001 From: Yochai Shefi Simchon Date: Sun, 12 Jun 2011 13:48:29 +0300 Subject: [PATCH] Fix an iligal "free". m_map[GL_TEXTURE_COORD_ARRAY] is not an allocated pointer, therefore it shouldn't be freed. Change-Id: I84e2937c16ddcbb8922cdf270de86732ee966d60 --- .../opengl/host/libs/Translator/GLES_CM/GLEScmContext.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/emulator/opengl/host/libs/Translator/GLES_CM/GLEScmContext.cpp b/tools/emulator/opengl/host/libs/Translator/GLES_CM/GLEScmContext.cpp index 3c4758ad0..7d6dbc5f2 100644 --- a/tools/emulator/opengl/host/libs/Translator/GLES_CM/GLEScmContext.cpp +++ b/tools/emulator/opengl/host/libs/Translator/GLES_CM/GLEScmContext.cpp @@ -56,6 +56,7 @@ GLEScmContext::~GLEScmContext(){ delete[] m_texCoords; m_texCoords = NULL; } + m_map[GL_TEXTURE_COORD_ARRAY] = NULL; }