=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/usbhidctl/usbhid.c,v retrieving revision 1.11 retrieving revision 1.12 diff -c -r1.11 -r1.12 *** src/usr.bin/usbhidctl/usbhid.c 2013/11/27 00:13:23 1.11 --- src/usr.bin/usbhidctl/usbhid.c 2015/12/22 19:46:16 1.12 *************** *** 1,4 **** ! /* $OpenBSD: usbhid.c,v 1.11 2013/11/27 00:13:23 deraadt Exp $ */ /* $NetBSD: usbhid.c,v 1.22 2002/02/20 20:30:42 christos Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: usbhid.c,v 1.12 2015/12/22 19:46:16 mmcc Exp $ */ /* $NetBSD: usbhid.c,v 1.22 2002/02/20 20:30:42 christos Exp $ */ /* *************** *** 412,419 **** static void freereport(struct Sreport *report) { ! if (report->buffer != NULL) ! free(report->buffer); report->status = srs_uninit; } --- 412,418 ---- static void freereport(struct Sreport *report) { ! free(report->buffer); report->status = srs_uninit; }