diff options
author | Patrick Luby <guibmacdev@gmail.com> | 2024-02-22 10:01:00 -0500 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2024-04-11 19:20:17 +0200 |
commit | dd769dd028dad7b67709e6c4268c595d1916a9e7 (patch) | |
tree | f99f7ea1c74000e8acc9d0fa7af79c0a33e70b8d /sfx2/Makefile | |
parent | c94c724d0ba9da6f6bacd6e9c6025ad0759d9658 (diff) |
Related: tdf#159529 eliminate possible memory leak
Despite confirming that the release function passed to
SkBitmap.bitmap.installPixels() does get called for every
data array that has been allocated, Apple's Instruments
indicates that the data is leaking. While it is likely a
false positive, it makes leak analysis difficult so leave
the bitmap mutable. That causes SkBitmap.asImage() to make
a copy of the data and the data can be safely deleted here.
Change-Id: Ib28d70bd5f51e6d3be7a7d7c0d5923d71a6e5390
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163774
Tested-by: Jenkins
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
(cherry picked from commit 3e2dde97bc15f156837d10bf4456deb81f7f554a)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165187
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'sfx2/Makefile')
0 files changed, 0 insertions, 0 deletions