HomeFreeBSD

free/NULL out variables prior to calling strdup to avoid leaking memory

Description

free/NULL out variables prior to calling strdup to avoid leaking memory
if arguments are specified more than once with "camcontrol timestamp".

CID: 1366829, 1366831
MFC after: 1 week

Details

Provenance
ngieAuthored on
Parents
rS309838: rsu: various initialization fixes.
Branches
Unknown
Tags
Unknown