HomeFreeBSD

Fix some resource leaks.

Description

Fix some resource leaks.

Always free dev and fstyp before strduping new values to assign to
them. Free them at the end of the loop. This keeps them from leaking
for mal-formed /etc/fstab lines.

CID: 1007777, 1007778, 1007779
Sponsored by: Netflix

Details

Provenance
impAuthored on
Parents
rS328287: Add /boot/overlays to runtime pkg, fix distrib-dirs METALOG generation
Branches
Unknown
Tags
Unknown