diff options
author | Ptyl Dragon <ptyl@cloudon.com> | 2013-11-04 16:08:39 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2013-11-15 16:52:07 +0100 |
commit | 5b0ff56e125771cb3e19a2823316518c577f7a1b (patch) | |
tree | 1909125e6f46bce482840783cd0b29e9dd05c8da /vcl/ios | |
parent | 865433b3480fd0c655186f9731d41822a6ddab3f (diff) |
releasing the CGDataProvider to prevent possible memory leaks
Change-Id: Ib64f457bd9cc185e979b1a3e9f07fdba93da88d7
Diffstat (limited to 'vcl/ios')
-rw-r--r-- | vcl/ios/iosinst.cxx | 1 |
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" |