mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Oops, add back a free() call that I mistakenly removed in
my last commit.
This commit is contained in:
parent
e7b883c427
commit
3b8caa9bab
1 changed files with 1 additions and 0 deletions
|
|
@ -397,6 +397,7 @@ bus_dmamap_destroy(bus_dma_tag_t dmat, bus_dmamap_t map)
|
|||
if (map != NULL && map != &nobounce_dmamap) {
|
||||
if (STAILQ_FIRST(&map->bpages) != NULL)
|
||||
return (EBUSY);
|
||||
free(map, M_DEVBUF);
|
||||
}
|
||||
dmat->map_count--;
|
||||
return (0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue