aboutsummaryrefslogtreecommitdiff
path: root/proc/host.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc/host.c')
-rw-r--r--proc/host.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/proc/host.c b/proc/host.c
index 25066888..7d76f7cb 100644
--- a/proc/host.c
+++ b/proc/host.c
@@ -113,8 +113,7 @@ S_proc_setexecdata (struct proc *p,
mach_port_deallocate (mach_task_self (), std_port_array[i]);
free (std_port_array);
}
- if (std_int_array)
- free (std_int_array);
+ free (std_int_array);
std_port_array = std_port_array_new;
n_std_ports = nports;