Camera: fix ION allocation
Fix segfault in cam_frame function