vcl/opengl/salbmp.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit ebfc6b6863fa54abd33ba95130a8434c70e42f58 Author: Daniel Robertson <danlrobertso...@gmail.com> Date: Wed Sep 30 22:10:37 2015 -0400
vcl: Fix possible memory leak in OpenGLSalBitmap Fix possible memory leak in OpenGLSalBitmap::CreateTexture Change-Id: Ic2d259569a5e89f60af7065b9d66ef03f82f90e7 Reviewed-on: https://gerrit.libreoffice.org/19049 Reviewed-by: Noel Grandin <noelgran...@gmail.com> Tested-by: Noel Grandin <noelgran...@gmail.com> diff --git a/vcl/opengl/salbmp.cxx b/vcl/opengl/salbmp.cxx index 53e4687..a42cbae 100644 --- a/vcl/opengl/salbmp.cxx +++ b/vcl/opengl/salbmp.cxx @@ -447,6 +447,7 @@ GLuint OpenGLSalBitmap::CreateTexture() pSrcData += mnBytesPerRow; } + delete pSrcFormat; } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits