Prevent fix 2.1b_release accepted/tizen_2.1/20130425.034834 submit/tizen_2.1/20130424.232355
authorSunwook Bae <sunwook45.bae@samsung.com>
Wed, 24 Apr 2013 09:18:30 +0000 (18:18 +0900)
committerSunwook Bae <sunwook45.bae@samsung.com>
Wed, 24 Apr 2013 09:18:30 +0000 (18:18 +0900)
Change-Id: Ie26f779b9a30b26402d37ba46fef6af7dd908d66
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
src/IpcServer.cpp

index e623125..0debbd9 100644 (file)
@@ -339,7 +339,7 @@ IpcServer::OnConnectionRequest(GIOChannel* source, GIOCondition condition, gpoin
 
                char* pAppId = NULL;
                int ret = app_manager_get_app_id(helloMessage.pid, &pAppId);
-               SysTryCatch(NID_IO, ret >= 0, ,E_SYSTEM, "[E_SYSTEM] Failed to get_app_id: %d", ret);
+               SysTryCatch(NID_IO, ret >= 0, delete pClientInfo, E_SYSTEM, "[E_SYSTEM] Failed to get_app_id: %d", ret);
 
                pClientInfo->appId = pAppId;
                free(pAppId);