artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02f89ba
)
Plug a memory leak related to HID descriptor parsing.
author
mpi
<mpi@openbsd.org>
Mon, 5 May 2014 13:48:11 +0000
(13:48 +0000)
committer
mpi
<mpi@openbsd.org>
Mon, 5 May 2014 13:48:11 +0000
(13:48 +0000)
ok jsg@
sys/dev/usb/hidms.c
patch
|
blob
|
history
diff --git
a/sys/dev/usb/hidms.c
b/sys/dev/usb/hidms.c
index
6636d80
..
7db59b3
100644
(file)
--- a/
sys/dev/usb/hidms.c
+++ b/
sys/dev/usb/hidms.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: hidms.c,v 1.
5 2013/08/09 22:10:17 edd
Exp $ */
+/* $OpenBSD: hidms.c,v 1.
6 2014/05/05 13:48:11 mpi
Exp $ */
/* $NetBSD: ums.c,v 1.60 2003/03/11 16:44:00 augustss Exp $ */
/*
@@
-257,6
+257,7
@@
hidms_setup(struct device *self, struct hidms *ms, uint32_t quirks,
break;
}
}
+ hid_end_parse(d);
return 0;
}