From df77e258df8cec689a001ec92031538298661b1b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 27 Jul 2012 15:33:58 +0000 Subject: merge of dbtool & database plugins git-svn-id: http://svn.miranda-ng.org/main/trunk@1213 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Db3x_mmap/src/dbintfm.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'plugins/Db3x_mmap/src/dbintfm.cpp') diff --git a/plugins/Db3x_mmap/src/dbintfm.cpp b/plugins/Db3x_mmap/src/dbintfm.cpp index 2f34f4e371..6b69bc5119 100644 --- a/plugins/Db3x_mmap/src/dbintfm.cpp +++ b/plugins/Db3x_mmap/src/dbintfm.cpp @@ -24,9 +24,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "commonheaders.h" CDb3Mmap::CDb3Mmap(const TCHAR* tszFileName) : - CDb3Base(tszFileName), - m_hMap(NULL), - m_pNull(NULL) + CDb3Base(tszFileName) { SYSTEM_INFO sinf; GetSystemInfo(&sinf); @@ -35,8 +33,6 @@ CDb3Mmap::CDb3Mmap(const TCHAR* tszFileName) : CDb3Mmap::~CDb3Mmap() { - if (m_hMap) - CloseHandle(m_hMap); if (m_pNull) free(m_pNull); } -- cgit v1.2.3