asomers bc772d7de2 Fix misc Coverity defects in camdd(8)
CID 1341620	Fix a small memory leak
CID 1341630	Though this is technically a false positive, rearrange the
		code for clarity.
CID 1341635	Eliminate dead code
CID 1368663	Fix a double mutex unlock in the error path

Also:
* Use sig_atomic_t for variables accessed from signal handlers
* Don't conditionalize free(3) on its argument being non-null

Reported by:	Coverity
CID:		1341620 1341630 1341635 1368663
Reviewed by:	ken
MFC after:	4 weeks
Sponsored by:	Spectra Logic Corp
Differential Revision:	https://reviews.freebsd.org/D9237
2017-01-20 21:40:04 +00:00
..
2017-01-05 21:28:25 +00:00
2016-11-13 17:55:27 +00:00
2017-01-08 06:58:42 +00:00
2017-01-20 17:43:36 +00:00
2017-01-04 00:39:06 +00:00
2016-09-21 10:58:58 +00:00
2017-01-14 01:08:04 +00:00
2016-12-02 11:30:21 +00:00
2017-01-14 10:20:38 +00:00
2016-12-26 19:27:12 +00:00
2016-08-23 13:43:43 +00:00
2016-11-08 23:59:41 +00:00
2017-01-01 10:37:10 +00:00
2016-12-10 12:48:48 +00:00
2017-01-09 00:25:33 +00:00
2016-09-30 20:35:12 +00:00
2017-01-11 07:21:59 +00:00
2016-09-04 12:17:57 +00:00
2016-12-02 06:07:27 +00:00