src/scanadf.c: Fix segfault when `scanadf -h -d <device>`
scanadf segfaults when printing help for a specific device, because
device handle is closed before scanadf_exit()
, but not set to NULL.
Fixes Fedora bugzilla 2225209
scanadf segfaults when printing help for a specific device, because
device handle is closed before scanadf_exit()
, but not set to NULL.
Fixes Fedora bugzilla 2225209