[Nav-dev] Memory leaks in getDeviceData