From 940a3a828eedccc95f128bedb4fb54d718409bb8 Mon Sep 17 00:00:00 2001 From: "dukan.kim" Date: Thu, 11 Apr 2013 20:43:28 +0900 Subject: [PATCH] remove free routine because the type is const char** Change-Id: I2bb747c0f367a7f38f94352c8449b9f2874a3715 Signed-off-by: dukan.kim --- src/bluetooth-app-control/BluetoothAppControlDllEntry.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/bluetooth-app-control/BluetoothAppControlDllEntry.cpp b/src/bluetooth-app-control/BluetoothAppControlDllEntry.cpp index 8fb7f39..c4cb14f 100755 --- a/src/bluetooth-app-control/BluetoothAppControlDllEntry.cpp +++ b/src/bluetooth-app-control/BluetoothAppControlDllEntry.cpp @@ -205,14 +205,6 @@ OnAppControlResult(void* b, int requestCode, service_result_e res, void* userDat { svcType = _BluetoothAdapterUtility::ConvertToServiceList(ppArrayBuf, len); pUuidList = dynamic_cast(_BluetoothAdapterUtility::ConvertServiceUuidListN(ppArrayBuf, len)); - for (int i = 0; i < len; i++) - { - if (ppArrayBuf[i]) - { - free(ppArrayBuf[i]); - } - } - free(ppArrayBuf); pResult->Add(new (std::nothrow) String(L"http://tizen.org/appcontrol/data/bluetooth/service_type"), new (std::nothrow) String(Long::ToString(svcType))); pResult->Add(new (std::nothrow) String(L"http://tizen.org/appcontrol/data/bluetooth/uuid_list"), pUuidList); -- 2.7.4