mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix yet another cut-and-paste bug.
kbd was allocated from M_VKBD not from M_DEVBUF
This commit is contained in:
parent
071a1710d1
commit
4f39f90f5f
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue