summaryrefslogtreecommitdiffstats
path: root/sys/i386
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/i386
parent810d3ec225cddddc95cf3b9f7058a4253ec1e486 (diff)
downloadFreeBSD-src-77dc747e6ca5aef0faeef7118081369ec5c55bbd.zip
FreeBSD-src-77dc747e6ca5aef0faeef7118081369ec5c55bbd.tar.gz
Free result of device_get_children(9).
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/bios/smapi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/bios/smapi.c b/sys/i386/bios/smapi.c
index e572664..1a83057 100644
--- a/sys/i386/bios/smapi.c
+++ b/sys/i386/bios/smapi.c
@@ -292,6 +292,7 @@ smapi_modevent (module_t mod, int what, void *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