[Libreoffice-commits] core.git: vcl/opengl
Daniel Robertson
danlrobertson89 at gmail.com
Thu Oct 1 00:37:13 PDT 2015
vcl/opengl/salbmp.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit ebfc6b6863fa54abd33ba95130a8434c70e42f58
Author: Daniel Robertson <danlrobertson89 at 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 <noelgrandin at gmail.com>
Tested-by: Noel Grandin <noelgrandin at 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;
}
}
More information about the Libreoffice-commits
mailing list