ym needs to be free when ym->cmd != SIOCYAMSMCS. Fixes: 0781168e23 ("yam: fix a missing-check bug") Signed-off-by: Hangyu Hua <hbh25y@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
0781168e23