I have written this piece of code:
bitmapData = calloc(1, bitmapByteCount );
context = CGBitmapContextCreate (bitmapData,
pixelsWide,
pixelsHigh,
8,
bitmapBytesPerRow,
colorSpace,
kCGImageAlphaOnly);
When I do this, is CGBitmapContext copying my bitmapData, so after these lines i should be writting
free(bitmapData);