diff options
author | kevlo <kevlo@FreeBSD.org> | 2012-09-30 09:21:10 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2012-09-30 09:21:10 +0000 |
commit | 77dc747e6ca5aef0faeef7118081369ec5c55bbd (patch) | |
tree | 1791658d6b3bba40d17a6a12632e208e86fafd28 /sys/x86 | |
parent | 810d3ec225cddddc95cf3b9f7058a4253ec1e486 (diff) | |
download | FreeBSD-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.c | 1 |
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; |