]> git.baikalelectronics.ru Git - kernel.git/commit
net: gemini: fix memory leak
authorIgor Pylypiv <igor.pylypiv@gmail.com>
Mon, 19 Mar 2018 06:40:51 +0000 (23:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Mar 2018 16:08:45 +0000 (12:08 -0400)
commit966ba6807f4572a4762d01ea5d1c54d3684e55a8
tree5beb0c858cf8b29d21757a2bb0d853baacfa353f
parentfe5c53c74f10c33d2c5be8691235ab882adcb952
net: gemini: fix memory leak

cppcheck report:
[drivers/net/ethernet/cortina/gemini.c:543]: (error) Memory leak: skb_tab

Signed-off-by: Igor Pylypiv <igor.pylypiv@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cortina/gemini.c