diff options
author | Daniel Robertson <danlrobertson89@gmail.com> | 2015-09-30 22:10:37 -0400 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-01 07:36:51 +0000 |
commit | ebfc6b6863fa54abd33ba95130a8434c70e42f58 (patch) | |
tree | 5228cbdcf2736f934983606fd1ef51b758e811d1 /vcl | |
parent | e209d115d41e25f5658dd52ae94ceb873b33013f (diff) |
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 <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/opengl/salbmp.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/opengl/salbmp.cxx b/vcl/opengl/salbmp.cxx index 53e46876730a..a42cbae5246f 100644 --- a/vcl/opengl/salbmp.cxx +++ b/vcl/opengl/salbmp.cxx @@ -447,6 +447,7 @@ GLuint OpenGLSalBitmap::CreateTexture() pSrcData += mnBytesPerRow; } + delete pSrcFormat; } } |