summaryrefslogtreecommitdiffstats
path: root/sys/x86
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2012-09-30 09:21:10 +0000
committerkevlo <kevlo@FreeBSD.org>2012-09-30 09:21:10 +0000
commit77dc747e6ca5aef0faeef7118081369ec5c55bbd (patch)
tree1791658d6b3bba40d17a6a12632e208e86fafd28 /sys/x86
parent810d3ec225cddddc95cf3b9f7058a4253ec1e486 (diff)
downloadFreeBSD-src-77dc747e6ca5aef0faeef7118081369ec5c55bbd.zip
FreeBSD-src-77dc747e6ca5aef0faeef7118081369ec5c55bbd.tar.gz
Free result of device_get_children(9).
Diffstat (limited to 'sys/x86')
-rw-r--r--sys/x86/bios/smbios.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/x86/bios/smbios.c b/sys/x86/bios/smbios.c
index 198bfc8..1ab5948 100644
--- a/sys/x86/bios/smbios.c
+++ b/sys/x86/bios/smbios.c
@@ -204,6 +204,7 @@ smbios_modevent (mod, what, arg)
for (i = 0; i < count; i++) {
device_delete_child(device_get_parent(devs[i]), devs[i]);
}
+ free(devs, M_TEMP);
break;
default:
break;
OpenPOWER on IntegriCloud