svn commit: r188392 - head/sys/pci
Max Khon
fjoe at FreeBSD.org
Mon Feb 9 08:53:38 PST 2009
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) {
More information about the svn-src-all
mailing list