HomeFreeBSD

Set dp to NULL when we free it, and tree a NULL dp as an error

Description

Set dp to NULL when we free it, and tree a NULL dp as an error
condition. This should prevent a double free. In addition, prevent a
leak by freeing dp each loop and when we're done.

CID: 1383577
Sponsored by: Netflix

Details

Provenance
impAuthored on
Parents
rS327573: Free options before setting them. This will prevent us from leaking
Branches
Unknown
Tags
Unknown