Index: uspace/lib/usbhid/src/hidpath.c
===================================================================
--- uspace/lib/usbhid/src/hidpath.c	(revision 07498c16c9b8073a28c3a42f4d825837e85574f3)
+++ uspace/lib/usbhid/src/hidpath.c	(revision 4578a6eddb5caa32837573ce3c101eac5cdfa8ec)
@@ -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);
