Fixed Accessing Pinned memory example