Remove the write-only variable phent. We currently do not check the
size of the program header's entries. Reported by: adrian (by using gcc 4.9) Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
f3dba86773
commit
da47499040
@ -1756,6 +1756,7 @@ vm_page_alloc(vm_object_t object, vm_pindex_t pindex, int req)
|
||||
m->wire_count = 0;
|
||||
}
|
||||
m->object = NULL;
|
||||
m->oflags = VPO_UNMANAGED;
|
||||
vm_page_free(m);
|
||||
return (NULL);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user