Kaydet (Commit) ebfc6b68 authored tarafından Daniel Robertson's avatar Daniel Robertson Kaydeden (comit) Noel Grandin

vcl: Fix possible memory leak in OpenGLSalBitmap

Fix possible memory leak in OpenGLSalBitmap::CreateTexture

Change-Id: Ic2d259569a5e89f60af7065b9d66ef03f82f90e7
Reviewed-on: https://gerrit.libreoffice.org/19049Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
Tested-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst e209d115
...@@ -447,6 +447,7 @@ GLuint OpenGLSalBitmap::CreateTexture() ...@@ -447,6 +447,7 @@ GLuint OpenGLSalBitmap::CreateTexture()
pSrcData += mnBytesPerRow; pSrcData += mnBytesPerRow;
} }
delete pSrcFormat;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment