]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
free/NULL out variables prior to calling strdup to avoid leaking memory
authorngie <ngie@FreeBSD.org>
Sat, 10 Dec 2016 23:26:34 +0000 (23:26 +0000)
committerngie <ngie@FreeBSD.org>
Sat, 10 Dec 2016 23:26:34 +0000 (23:26 +0000)
commit09c987d4c9b2518a5dabb69f832e4b4bc46c0836
tree71c3f4baf6812deafdf7714f112ea6f79d2d3b49
parenta95a411a28d877ca74b4adf9ea85799538d80cf5
free/NULL out variables prior to calling strdup to avoid leaking memory
if arguments are specified more than once with "camcontrol timestamp".

CID: 13668291366831
MFC after: 1 week
sbin/camcontrol/timestamp.c