Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yam: fix a memory leak in yam_siocdevprivate()
ym needs to be free when ym->cmd != SIOCYAMSMCS. Fixes: 0781168 ("yam: fix a missing-check bug") Signed-off-by: Hangyu Hua <hbh25y@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information