summaryrefslogtreecommitdiffstats
path: root/sys/contrib/x86emu
diff options
context:
space:
mode:
authorskra <skra@FreeBSD.org>2015-11-08 18:48:35 +0000
committerskra <skra@FreeBSD.org>2015-11-08 18:48:35 +0000
commit32f0ed67b358127d8ec92f7615d13f8fed0dad9f (patch)
tree1635a0dc398ef0c6e993a6a7f97ad2bc6985d816 /sys/contrib/x86emu
parent425e227d0238d5c8165dc91f128206b6e6e5043f (diff)
downloadFreeBSD-src-32f0ed67b358127d8ec92f7615d13f8fed0dad9f.zip
FreeBSD-src-32f0ed67b358127d8ec92f7615d13f8fed0dad9f.tar.gz
Fix pagelist bus_dmamap_t map handling. Memory for pagelist is allocated
by bus_dmamem_alloc() which creates associated bus_dmamap_t map for us. When this memory is freed by bus_dmamem_free(), the map is freed as well. Thus there is no need to free it explicitly by bus_dmamap_destroy(), which leads to double freeing. Discussed with: gonzo Approved by: kib (mentor)
Diffstat (limited to 'sys/contrib/x86emu')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud