Use autoreleasing NSData to free the buffer.
Style fixes.