Dodal sem destruktor ~CSession(), ki počisti seznama m_olRollback in m_olCommit, sicer pride do nesproščenega pomnilnika.

Verzijo sem nastavil na 1.1.2.
This commit is contained in:
Simon Rozman 2013-08-26 12:42:31 +00:00
parent 409098e516
commit 1b1a68ef7d
2 changed files with 10 additions and 3 deletions

View File

@ -5,13 +5,13 @@
// Version
////////////////////////////////////////////////////////////////////////////
#define AMSICA_VERSION 0x01010100
#define AMSICA_VERSION 0x01010200
#define AMSICA_VERSION_MAJ 1
#define AMSICA_VERSION_MIN 1
#define AMSICA_VERSION_REV 1
#define AMSICA_VERSION_REV 2
#define AMSICA_VERSION_STR "1.1.1"
#define AMSICA_VERSION_STR "1.1.2"
#if !defined(RC_INVOKED) && !defined(MIDL_PASS)
@ -460,6 +460,7 @@ class CSession
{
public:
CSession();
virtual ~CSession();
MSIHANDLE m_hInstall; // Installer handle
BOOL m_bContinueOnError; // Continue execution on operation error?

View File

@ -175,4 +175,10 @@ CSession::CSession() :
}
CSession::~CSession()
{
m_olRollback.Free();
m_olCommit.Free();
}
} // namespace AMSICA