From: Sunwook Bae Date: Fri, 26 Apr 2013 11:03:22 +0000 (+0900) Subject: Remove a memory leak X-Git-Tag: 2.1b_release^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c96bc64c57a32c626739c37c3346402ed587574c;p=platform%2Fframework%2Fnative%2Fappfw.git Remove a memory leak Change-Id: Ic9707935688f1371602705f0b09177fb3b342d17 Signed-off-by: Sunwook Bae --- diff --git a/src/io/FIo_IpcClient.cpp b/src/io/FIo_IpcClient.cpp index 9e98c93..1198e9d 100644 --- a/src/io/FIo_IpcClient.cpp +++ b/src/io/FIo_IpcClient.cpp @@ -546,6 +546,7 @@ _IpcClient::SendSync(IPC::Message* pMessage) if (pfd.revents & POLLRDHUP) { + ReleaseFd(fd); return E_SYSTEM; } diff --git a/src/io/FIo_RegistryCore.cpp b/src/io/FIo_RegistryCore.cpp index 4581a51..0a5f8e0 100644 --- a/src/io/FIo_RegistryCore.cpp +++ b/src/io/FIo_RegistryCore.cpp @@ -98,6 +98,7 @@ _RegistryCore::_RegistryCore(void) _RegistryCore::~_RegistryCore(void) { delete __pFileImpl; + delete[] _pBuffer; } bool