net:stmmac: fix memleak in the open method
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Thu, 4 Jul 2013 04:18:07 +0000 (06:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Jul 2013 21:34:16 +0000 (14:34 -0700)
This patch is to fix a memory leak in the open method, it reviews error
conditions freeing the resources previously allocated and not freed in
cased of DMA failure.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found