HomeFreeBSD

blacklist: Fix minor memory leak in configuration parsing error case

Description

blacklist: Fix minor memory leak in configuration parsing error case

Ordinarily, the continue clause of the for-loop would free 'line.' In this
case we instead return early, missing the free. Add an explicit free to
avoid the leak.

Reported by: Coverity
Sponsored by: Dell EMC Isilon

Details

Provenance
cemAuthored on
Parents
rS331229: [ofw] fix errneous checks for OF_finddevice(9) return value
Branches
Unknown
Tags
Unknown