HomeFreeBSD

Cut to the chase and just call free instead of free(x) + x = NULL

Description

Cut to the chase and just call free instead of free(x) + x = NULL

NULLing out x wasn't required as the memory was immediately scribbled
over with strdup in the following call.

MFC after: 1 week
Submitted by: imp

Details

Provenance
ngieAuthored on
Parents
rS309839: free/NULL out variables prior to calling strdup to avoid leaking memory
Branches
Unknown
Tags
Unknown