diff options
author | John W. Linville <linville@tuxdriver.com> | 2011-11-17 20:15:47 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-17 20:15:47 +0100 |
commit | c4be3c2da1ab4344d3d5f63d6ec1952a3c6e635c (patch) | |
tree | 8235782fe36c446cd1a84477404c82e56c8d4407 /drivers/net/wireless/libertas | |
parent | stmmac: fix pm functions avoiding sleep on spinlock (diff) | |
parent | Net, libertas: Resolve memory leak in if_spi_host_to_card() (diff) | |
download | linux-c4be3c2da1ab4344d3d5f63d6ec1952a3c6e635c.tar.xz linux-c4be3c2da1ab4344d3d5f63d6ec1952a3c6e635c.zip |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless into for-davem
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; |