diff options
author | emax <emax@FreeBSD.org> | 2005-05-20 23:29:55 +0000 |
---|---|---|
committer | emax <emax@FreeBSD.org> | 2005-05-20 23:29:55 +0000 |
commit | b10ae11bf96d7434d36df7cc8cd601d55d92adf6 (patch) | |
tree | 71ff0440a40efe3943206ba6d7b4b9a323fae83b /sys/dev | |
parent | b351552abd8e21fa71087afcf0683e0d32dd59fc (diff) | |
download | FreeBSD-src-b10ae11bf96d7434d36df7cc8cd601d55d92adf6.zip FreeBSD-src-b10ae11bf96d7434d36df7cc8cd601d55d92adf6.tar.gz |
Fix yet another cut-and-paste bug.
kbd was allocated from M_VKBD not from M_DEVBUF
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/vkbd/vkbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/vkbd/vkbd.c b/sys/dev/vkbd/vkbd.c index 940e414..622e6f1 100644 --- a/sys/dev/vkbd/vkbd.c +++ b/sys/dev/vkbd/vkbd.c @@ -673,7 +673,7 @@ bad: if (fkeymap != NULL) free(fkeymap, M_VKBD); if (kbd != NULL) { - free(kbd, M_DEVBUF); + free(kbd, M_VKBD); *kbdp = NULL; /* insure ref doesn't leak to caller */ } } |