Reset devices to NULL after free()
Otherwise, we may returned freed memory.
Signed-off-by: Peter Hutterer <email@example.com>
Reviewed-by: Ping Cheng <firstname.lastname@example.org>
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.