HomeFreeBSD

camcontrol powermode: fix use-after-free

Description

camcontrol powermode: fix use-after-free

Free the ccb after processing the response therein.

Reported by: Coverity
Fixes: 3bed0179ee571ba3ceadb2773f86d57af8bc5499
MFC after: 1 week
Sponsored by: Dell EMC Isilon

Details

Provenance
vangyzenAuthored on Mar 29 2023, 7:14 PM
Parents
rG8f391d909808: Rework {clang,lldb,llvm}-tblgen invocations to add --write-if-changed
Branches
Unknown
Tags
Unknown