Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dialogs.c: Don't crash during refresh when no device is connected
active_pid does not get reset when the device is unplugged, but the strings contained in usb_pids are freed. Make sure to not call strdup() on NULL to avoid a crash. Signed-off-by: Lars-Peter Clausen <[email protected]>
- Loading branch information