diff options
author | David S. Miller <davem@davemloft.net> | 2011-11-18 02:31:49 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-18 02:31:49 +0400 |
commit | 596a1b746c56f974240c8df6d8e3a026c54266ff (patch) | |
tree | a6c50df4b1fcf8c8c912ba64e0d359f672e8d0fe /drivers/net/wireless/libertas | |
parent | 38ff1edb52f737d490126728e3d5ba2b8d2f3ba0 (diff) | |
parent | c4be3c2da1ab4344d3d5f63d6ec1952a3c6e635c (diff) | |
download | linux-596a1b746c56f974240c8df6d8e3a026c54266ff.tar.xz |
Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
Diffstat (limited to 'drivers/net/wireless/libertas')
-rw-r--r-- | drivers/net/wireless/libertas/if_spi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/if_spi.c b/drivers/net/wireless/libertas/if_spi.c index 11b69b300dc0..728baa445259 100644 --- a/drivers/net/wireless/libertas/if_spi.c +++ b/drivers/net/wireless/libertas/if_spi.c @@ -995,6 +995,7 @@ static int if_spi_host_to_card(struct lbs_private *priv, spin_unlock_irqrestore(&card->buffer_lock, flags); break; default: + kfree(packet); netdev_err(priv->dev, "can't transfer buffer of type %d\n", type); err = -EINVAL; |