Author: araujo (ports committer) Date: Fri May 15 06:11:47 2015 New Revision: 282939 URL: https://svnweb.freebsd.org/changeset/base/282939
Log: Free vsi->queues after use. Differential Revision: D2344 Reviewed by: erj Modified: head/sys/dev/ixl/if_ixlv.c Modified: head/sys/dev/ixl/if_ixlv.c ============================================================================== --- head/sys/dev/ixl/if_ixlv.c Fri May 15 06:05:30 2015 (r282938) +++ head/sys/dev/ixl/if_ixlv.c Fri May 15 06:11:47 2015 (r282939) @@ -1693,7 +1693,6 @@ ixlv_setup_queues(struct ixlv_sc *sc) return (0); fail: - free(vsi->queues, M_DEVBUF); for (int i = 0; i < vsi->num_queues; i++) { que = &vsi->queues[i]; rxr = &que->rxr; @@ -1703,6 +1702,7 @@ fail: if (txr->base) i40e_free_dma_mem(&sc->hw, &txr->dma); } + free(vsi->queues, M_DEVBUF); early: return (error); _______________________________________________ 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"