HomeFreeBSD

Do not double free the memory in if_clone.

Description

Do not double free the memory in if_clone.

if_clone_attach function will drop the reference on failure which will
free the if_clone structure. No need to do it second time.

Reviewed by: glebius, ae
Differential Revision: https://reviews.freebsd.org/D10386

Details

Provenance
kanAuthored on
Reviewer
glebius
Differential Revision
D10386: Do not double free the memory in if_clone.
Parents
rS327107: Move syscon into extres framework
Branches
Unknown
Tags
Unknown