HomeFreeBSD

getdiskbyname(): plug resource leak

Description

getdiskbyname(): plug resource leak

Variable cq going out of scope leaks the storage it points to.

CID: 270511
Phabric: D1775
Reviewed by: imp
Obtained from: NetBSD (CVS rev. 1.34)
MFC after: 2 weeks

Details

Provenance
pfgAuthored on
Reviewer
imp
Parents
rS278299: Expose the constants for internal new-bus device flags to userland. The
Branches
Unknown
Tags
Unknown

Event Timeline