firestream: Fix memleak in fs_open
authorDinghao Liu <dinghao.liu@zju.edu.cn>
Sun, 23 Aug 2020 11:29:35 +0000 (19:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Aug 2020 01:02:43 +0000 (18:02 -0700)
commit15ac5cdafb9202424206dc5bd376437a358963f9
tree31da1b1d676fbc1dfa9fd8ab2c61a8a60f454a6a
parente2d79cd8875fa8c3cc7defa98a8cc99a1ed0c62f
firestream: Fix memleak in fs_open

When make_rate() fails, vcc should be freed just
like other error paths in fs_open().

Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/firestream.c