From 9cccaac7e9595d5cde7c521bc37c389ee2606243 Mon Sep 17 00:00:00 2001 From: Hansang Lee Date: Sat, 27 Apr 2013 20:53:05 +0900 Subject: [PATCH] Revert "Remove a memory leak" This reverts commit c96bc64c57a32c626739c37c3346402ed587574c --- src/io/FIo_IpcClient.cpp | 1 - src/io/FIo_RegistryCore.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/src/io/FIo_IpcClient.cpp b/src/io/FIo_IpcClient.cpp index 1198e9d..9e98c93 100644 --- a/src/io/FIo_IpcClient.cpp +++ b/src/io/FIo_IpcClient.cpp @@ -546,7 +546,6 @@ _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 0a5f8e0..4581a51 100644 --- a/src/io/FIo_RegistryCore.cpp +++ b/src/io/FIo_RegistryCore.cpp @@ -98,7 +98,6 @@ _RegistryCore::_RegistryCore(void) _RegistryCore::~_RegistryCore(void) { delete __pFileImpl; - delete[] _pBuffer; } bool -- 2.7.4