cuda_iplookup: cleanup