staging: vchiq_core: Free kthreads in error case
authorStefan Wahren <stefan.wahren@i2se.com>
Sat, 31 Mar 2018 20:09:47 +0000 (22:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 13:48:20 +0000 (15:48 +0200)
commita69b41e90aedbfd04dc34d3e0df96143d99ab71b
tree3fd1939ec76aa1d72e116a4410e1bbd3c205b65d
parent8dd60f7dc76db081f1231960bd97c6e82213e5cb
staging: vchiq_core: Free kthreads in error case

We need to free the kthreads in error case before leaving
vchiq_init_state() otherwise we leak resources.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c