cmkilger/CKImageAdditions — Issue #7: zero the malloced buffer (fix inside)
Author: GreatWiz
Created: 2012-02-13 15:06:48+00:00
State: open

after calling malloc need to set 0 to the buffer in

CoreGraphicsAdditions.c

#include

...

CGContextRef CKBitmapContextAndDataCreate(CGSize size, void ** data) {
...

memset(bitmapData, 0, size.width*size.height*4 );