OSDN Git Service

soc: qcom: service-locator: Free memory in case of error
authorSatya Durga Srinivasu Prabhala <satyap@codeaurora.org>
Thu, 23 Mar 2017 02:07:12 +0000 (19:07 -0700)
committerSatya Durga Srinivasu Prabhala <satyap@codeaurora.org>
Thu, 23 Mar 2017 02:09:04 +0000 (19:09 -0700)
commit87494947a8fae99f257f2d115c1f5ef6f4a60b33
tree4c08c5f5a76b14e41e6d403711f0a74aa098ba05
parent630218f7109215471e1f43c2200f6bdc98f92f93
soc: qcom: service-locator: Free memory in case of error

Free previously allocated memory in case of error to avoid
memory leak.

CRs-Fixed: 2022322
Change-Id: I297bd6ee1d75c039cacf8409b324c119f1b86875
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
drivers/soc/qcom/service-locator.c