summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorPtyl Dragon <ptyl@cloudon.com>2013-11-04 16:08:39 +0200
committerJan Holesovsky <kendy@collabora.com>2013-11-15 16:52:07 +0100
commit5b0ff56e125771cb3e19a2823316518c577f7a1b (patch)
tree1909125e6f46bce482840783cd0b29e9dd05c8da /vcl
parent865433b3480fd0c655186f9731d41822a6ddab3f (diff)
releasing the CGDataProvider to prevent possible memory leaks
Change-Id: Ib64f457bd9cc185e979b1a3e9f07fdba93da88d7
Diffstat (limited to 'vcl')
-rw-r--r--vcl/ios/iosinst.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/ios/iosinst.cxx b/vcl/ios/iosinst.cxx
index 39208f53ca56..c0f707305d20 100644
--- a/vcl/ios/iosinst.cxx
+++ b/vcl/ios/iosinst.cxx
@@ -412,6 +412,7 @@ touch_lo_copy_buffer(const void * source, size_t sourceWidth, size_t sourceHeigh
CGRect targetRect = CGRectMake( 0, 0, targetWidth, targetHeight );
CGContextDrawImage( context, targetRect, sourceImage );
CGImageRelease(sourceImage);
+ CGDataProviderRelease(provider);
}
extern "C"