Prevent fix
authorSunwook Bae <sunwook45.bae@samsung.com>
Wed, 24 Apr 2013 09:18:45 +0000 (18:18 +0900)
committerSunwook Bae <sunwook45.bae@samsung.com>
Wed, 24 Apr 2013 09:18:45 +0000 (18:18 +0900)
Change-Id: Ib4cc16c45ff7fbf14a73ecd342d2dbaeccf06ceb
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
src/server/io/FIo_IpcServer.cpp

index 7f6a4bd..220725e 100644 (file)
@@ -328,7 +328,7 @@ _IpcServer::OnConnectionRequest(GIOChannel* source, GIOCondition condition, gpoi
 
                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);