]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kperf/kperf.c
xnu-4903.231.4.tar.gz
[apple/xnu.git] / osfmk / kperf / kperf.c
index 831f3afd86563b8b641abc6a545694a38dfdc31a..7d33d9f1b96a788c255d55b3b26126b7c5944633 100644 (file)
@@ -344,7 +344,7 @@ kperf_port_to_pid(mach_port_name_t portname)
        }
        pid_t pid = task_pid(task);
        /* drop the ref taken by port_name_to_task */
-       task_deallocate_internal(task);
+       (void)task_deallocate_internal(task);
 
        return pid;
 }