diff options
author | fjoe <fjoe@FreeBSD.org> | 2009-02-09 16:53:37 +0000 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2009-02-09 16:53:37 +0000 |
commit | d4e7486f743abc4647e0fae2df002490ed4e1597 (patch) | |
tree | 7e152f29c949b447b6c7e0a7e77db5467144c84e /sys | |
parent | 95eb58b803ea56258e8a3784dd6b04e5b62c4ddb (diff) | |
download | FreeBSD-src-d4e7486f743abc4647e0fae2df002490ed4e1597.zip FreeBSD-src-d4e7486f743abc4647e0fae2df002490ed4e1597.tar.gz |
Destroy TX tag outside of loop scope.
Found with: Coverity Prevent(tm)
CID: 3886
Diffstat (limited to 'sys')
-rw-r--r-- | sys/pci/if_rl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c index 20f4504..dc3e3b5 100644 --- a/sys/pci/if_rl.c +++ b/sys/pci/if_rl.c @@ -1151,9 +1151,9 @@ rl_dma_free(struct rl_softc *sc) sc->rl_cdata.rl_tx_dmamap[i]); sc->rl_cdata.rl_tx_dmamap[i] = NULL; } + } bus_dma_tag_destroy(sc->rl_cdata.rl_tx_tag); sc->rl_cdata.rl_tx_tag = NULL; - } } if (sc->rl_parent_tag != NULL) { |