mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
net: stmicro: replace kzalloc with devm_kzalloc
The axi variable was not being freed upon device removal. With devm_kzalloc it ensures that it is properly freed. Signed-off-by: Joao Pinto <jpinto@synopsys.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e3c36e483b
commit
64f48e593a
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue