[Libreoffice-commits] core.git: Branch 'feature/chart-opengl2' - chart2/source

Michael Meeks michael.meeks at collabora.com
Tue Dec 31 07:35:05 PST 2013


 chart2/source/view/main/OpenGLRender.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1cab031bec4a7a663ce5ad653c1cbd0c6c410adc
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Tue Dec 31 15:34:20 2013 +0000

    valgrind: fix FMR / crasher.
    
    Change-Id: Id9f584733887f952f66858da937b5f679a701d22

diff --git a/chart2/source/view/main/OpenGLRender.cxx b/chart2/source/view/main/OpenGLRender.cxx
index 8def8cb..f048d37 100644
--- a/chart2/source/view/main/OpenGLRender.cxx
+++ b/chart2/source/view/main/OpenGLRender.cxx
@@ -673,8 +673,8 @@ int OpenGLRender::RenderLine2FBO(int wholeFlag)
         glDrawArrays(GL_LINE_STRIP, 0, pointList.bufLen / sizeof(float) / 2); // 12*3 indices starting at 0 -> 12 triangles
         glDisableVertexAttribArray(m_Line2DWholeVertexID);
         glUseProgram(0);
-        m_Line2DShapePointList.pop_front();
         free(pointList.pointBuf);
+        m_Line2DShapePointList.pop_front();
     }
     m_iPointNum = 0;
     GLenum status;


More information about the Libreoffice-commits mailing list