FreeBSD/src 1065f77 (r328288) — stand/common boot.c
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
Delta | File | |
---|---|---|
+7 | -2 | stand/common/boot.c |
+7 | -2 | 1 files |