svn commit: r281901 - head/sys/dev/kbdmux

Ed Maste emaste at FreeBSD.org
Thu Apr 23 20:26:23 UTC 2015


Author: emaste
Date: Thu Apr 23 20:26:22 2015
New Revision: 281901
URL: https://svnweb.freebsd.org/changeset/base/281901

Log:
  Revert r281889, it broke keyboard input

Modified:
  head/sys/dev/kbdmux/kbdmux.c

Modified: head/sys/dev/kbdmux/kbdmux.c
==============================================================================
--- head/sys/dev/kbdmux/kbdmux.c	Thu Apr 23 19:50:22 2015	(r281900)
+++ head/sys/dev/kbdmux/kbdmux.c	Thu Apr 23 20:26:22 2015	(r281901)
@@ -472,11 +472,6 @@ kbdmux_init(int unit, keyboard_t **kbdp,
 		KBDMUX_UNLOCK(state);
 	}
 
-	if (needfree) {
-		free(accmap, M_KBDMUX);
-		free(fkeymap, M_KBDMUX);
-		free(keymap, M_KBDMUX);
-	}
 	return (0);
 bad:
 	if (needfree) {


More information about the svn-src-all mailing list