commit | 0b25e9fa01fc9ed333d266172128ba37d44cd7be | [log] [tgz] |
---|---|---|
author | Quentin Lambert <lambert.quentin@gmail.com> | Fri Aug 12 16:15:18 2016 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Aug 21 18:37:36 2016 +0200 |
tree | e754083a4ef88ea53efb8c483e5a2dd49845abc4 | |
parent | 541e4d2d1d99c51a3bbc887b88ac3d65534b0fc9 [diff] |
staging: rts5208/ms.c: add missing releases in mg_get_local_EKB and mg_get_ICV mg_get_local_EKB and mg_get_ICV used to return with an error code before releasing all resources. This patch add a jump to the appropriate label ensuring that the resources are properly released before returning. This issue was found with Hector. Signed-off-by: Quentin Lambert <lambert.quentin@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>