From 5a56e1ef50a12db261083b55f9b1445e1f1adf8d Mon Sep 17 00:00:00 2001 From: "paras.kumar" Date: Tue, 22 Mar 2016 17:30:34 +0530 Subject: [PATCH] Fix Memory leak issue Change-Id: I213da6308b8193bdc30668fb396345f97f9de2bf Signed-off-by: paras.kumar --- bt-api/bt-request-sender.c | 3 +++ 1 file changed, 3 insertions(+) mode change 100755 => 100644 bt-api/bt-request-sender.c diff --git a/bt-api/bt-request-sender.c b/bt-api/bt-request-sender.c old mode 100755 new mode 100644 index 1f00831..896386e --- a/bt-api/bt-request-sender.c +++ b/bt-api/bt-request-sender.c @@ -546,6 +546,9 @@ int _bt_async_send_request(int service_type, int service_function, g_array_free(in_param5, TRUE); break; + default: + g_free(cb_data); + break; } return BLUETOOTH_ERROR_NONE; -- 2.7.4