mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=241050
@ -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 New Issue
Block a user