mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
- Correctly destroy assoiciated ucom device on detach.
MFC after: 2 weeks Reported by: Ilya Bakulin <webmaster@kibab.com> Approved by: imp, cognet
This commit is contained in:
parent
6aa6d011e4
commit
640bd7d7d7
1 changed files with 2 additions and 0 deletions
|
|
@ -338,6 +338,8 @@ uipaq_detach(device_t self)
|
|||
DPRINTF(("uipaq_detach: sc=%p flags=%d\n", sc, flags));
|
||||
ucom->sc_dying = 1;
|
||||
|
||||
rv = ucom_detach(ucom);
|
||||
|
||||
return (rv);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue