Kaydet (Commit) 5b0ff56e authored tarafından Ptyl Dragon's avatar Ptyl Dragon Kaydeden (comit) Jan Holesovsky

releasing the CGDataProvider to prevent possible memory leaks

Change-Id: Ib64f457bd9cc185e979b1a3e9f07fdba93da88d7
üst 865433b3
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment