Author: fjoe Date: Mon Feb 9 16:53:37 2009 New Revision: 188392 URL: http://svn.freebsd.org/changeset/base/188392
Log: Destroy TX tag outside of loop scope. Found with: Coverity Prevent(tm) CID: 3886 Modified: head/sys/pci/if_rl.c Modified: head/sys/pci/if_rl.c ============================================================================== --- head/sys/pci/if_rl.c Mon Feb 9 15:55:21 2009 (r188391) +++ head/sys/pci/if_rl.c Mon Feb 9 16:53:37 2009 (r188392) @@ -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) { _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"