Accidentally malloced block to cuda pointer