Revert "Remove a memory leak"
authorHansang Lee <hs321.lee@samsung.com>
Sat, 27 Apr 2013 11:53:05 +0000 (20:53 +0900)
committerGerrit Code Review <gerrit2@kim11>
Sat, 27 Apr 2013 11:53:05 +0000 (20:53 +0900)
This reverts commit c96bc64c57a32c626739c37c3346402ed587574c

src/io/FIo_IpcClient.cpp
src/io/FIo_RegistryCore.cpp

index 1198e9d..9e98c93 100644 (file)
@@ -546,7 +546,6 @@ _IpcClient::SendSync(IPC::Message* pMessage)
 
                if (pfd.revents & POLLRDHUP)
                {
-                       ReleaseFd(fd);
                        return E_SYSTEM;
                }
 
index 0a5f8e0..4581a51 100644 (file)
@@ -98,7 +98,6 @@ _RegistryCore::_RegistryCore(void)
 _RegistryCore::~_RegistryCore(void)
 {
        delete __pFileImpl;
-       delete[] _pBuffer;
 }
 
 bool