mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 14:26:03 -04:00
If devclass_get_devices(9) returns success but a count of 0,
free the pointer.
This commit is contained in:
parent
e81fdb14a9
commit
000811380d
1 changed files with 1 additions and 0 deletions
|
|
@ -111,6 +111,7 @@ usbpf_uninit(void)
|
|||
if (ubus != NULL && ubus->ifp != NULL)
|
||||
usbpf_clone_destroy(&usbpf_cloner, ubus->ifp);
|
||||
}
|
||||
free(devlp, M_TEMP);
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
|
|||
Loading…
Reference in a new issue