diff options
author | araujo <araujo@FreeBSD.org> | 2015-05-15 06:11:47 +0000 |
---|---|---|
committer | araujo <araujo@FreeBSD.org> | 2015-05-15 06:11:47 +0000 |
commit | 7f58a65822ea37487e15966f59c75bfd3beb4b34 (patch) | |
tree | 66f48e55e43a79cf0f43d5c34743892d5706314f /sys/dev/ixl | |
parent | 7623d151d8387a574f88cf0ce8a9e168ff5b22e9 (diff) | |
download | FreeBSD-src-7f58a65822ea37487e15966f59c75bfd3beb4b34.zip FreeBSD-src-7f58a65822ea37487e15966f59c75bfd3beb4b34.tar.gz |
Free vsi->queues after use.
Differential Revision: D2344
Reviewed by: erj
Diffstat (limited to 'sys/dev/ixl')
-rw-r--r-- | sys/dev/ixl/if_ixlv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ixl/if_ixlv.c b/sys/dev/ixl/if_ixlv.c index a9ee127..fe4c63f 100644 --- a/sys/dev/ixl/if_ixlv.c +++ b/sys/dev/ixl/if_ixlv.c @@ -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); |