Index: uspace/lib/usbhid/src/hidpath.c
===================================================================
--- uspace/lib/usbhid/src/hidpath.c	(revision 4bb7ffef3e23c7aa82199ac6ba9838b10a2ceea7)
+++ uspace/lib/usbhid/src/hidpath.c	(revision 94f6df78dd46b93498ccd44f24c2a40a3dbaa74a)
@@ -385,4 +385,6 @@
 void usb_hid_report_path_free(usb_hid_report_path_t *path)
 {
+	if (path == NULL)
+		return;
 	while(!list_empty(&path->items)){
 		usb_hid_report_remove_last_item(path);
