Index: uspace/lib/usbhid/src/hidpath.c
===================================================================
--- uspace/lib/usbhid/src/hidpath.c	(revision 4bb7ffef3e23c7aa82199ac6ba9838b10a2ceea7)
+++ uspace/lib/usbhid/src/hidpath.c	(revision 2d37006ac345fed37d72ab244a3e5b2dfb9f3727)
@@ -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);
