gianfar: Fix a memory leak in gianfar close code
authorAndy Fleming <afleming@freescale.com>
Mon, 29 Mar 2010 15:42:23 +0000 (15:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Mar 2010 06:03:16 +0000 (23:03 -0700)
commit7c0d10d35f7f47d00cc5f2b85ee5e95c2b1fdb7e
treef05d4843bd0baa72893e099107d5296168dcfac7
parentbaff42ab1494528907bf4d5870359e31711746ae
gianfar: Fix a memory leak in gianfar close code

gianfar needed to ensure existence of the *skbuff arrays before
freeing the skbs in them, rather than ensuring their nonexistence.

Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gianfar.c