summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorPtyl Dragon <ptyl@cloudon.com>2013-11-04 16:10:10 +0200
committerJan Holesovsky <kendy@collabora.com>2013-11-15 16:52:07 +0100
commitfd530527fbe14a6e41c3c2d1c8788e98068ff1bb (patch)
tree01c6aff03c6a28650cbd33df9717bdbf123ed4af /sw
parent5b0ff56e125771cb3e19a2823316518c577f7a1b (diff)
release BitmapReadAccess after use to fix 1 mb per render mem leak
Change-Id: I4d9a580132eb9a8d618c1165f962b47be4e80695
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/view/viewsh.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index c5ef02925d0e..049bffaa3dcc 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -1828,6 +1828,7 @@ void touch_lo_draw_tile(void *context, int contextWidth, int contextHeight, MLOD
context,
contextWidth,
contextHeight);
+ aBitmap.ReleaseAccess(readAccess);
}
Application::ReleaseSolarMutex();
}