svn commit: r213592 - stable/7/sys/pci
Pyun YongHyeon
yongari at FreeBSD.org
Fri Oct 8 18:31:56 UTC 2010
Author: yongari
Date: Fri Oct 8 18:31:56 2010
New Revision: 213592
URL: http://svn.freebsd.org/changeset/base/213592
Log:
MFC r188392:
Destroy TX tag outside of loop scope.
Found with: Coverity Prevent(tm)
CID: 3886
Modified:
stable/7/sys/pci/if_rl.c
Directory Properties:
stable/7/sys/ (props changed)
stable/7/sys/cddl/contrib/opensolaris/ (props changed)
stable/7/sys/contrib/dev/acpica/ (props changed)
stable/7/sys/contrib/pf/ (props changed)
Modified: stable/7/sys/pci/if_rl.c
==============================================================================
--- stable/7/sys/pci/if_rl.c Fri Oct 8 18:26:14 2010 (r213591)
+++ stable/7/sys/pci/if_rl.c Fri Oct 8 18:31:56 2010 (r213592)
@@ -1173,9 +1173,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-stable
mailing list