HomeFreeBSD

MFH: r448159

Description

MFH: r448159

Don't leak lock from os_kmem_alloc().

The current port patches for os_kmem_alloc() add VM object locking.
However, the lock is not unlocked in the success case because the
unlock code is inside of an if body instead of after the if statement.

Approved by: ports-secteam (feld)

Details

Provenance
jhbAuthored on
Parents
rP448500: MFH: r448170
Branches
Unknown
Tags
Unknown