mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-08 07:25:31 +00:00
![John Baldwin](/assets/img/avatar_default.png)
don't create a map before calling bus_dmamem_alloc() (such maps were leaked). It is believed that the extra destroy of the map was generally harmless since bus_dmamem_alloc() often uses special maps for which bus_dmamap_destroy() is a no-op (e.g. on x86). Reviewed by: scottl