diff --git a/AMSICA/include/AMSICA.h b/AMSICA/include/AMSICA.h index 738abdc..66f46a6 100644 --- a/AMSICA/include/AMSICA.h +++ b/AMSICA/include/AMSICA.h @@ -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? diff --git a/AMSICA/src/AMSICA.cpp b/AMSICA/src/AMSICA.cpp index d009634..d10f079 100644 --- a/AMSICA/src/AMSICA.cpp +++ b/AMSICA/src/AMSICA.cpp @@ -175,4 +175,10 @@ CSession::CSession() : } +CSession::~CSession() +{ + m_olRollback.Free(); + m_olCommit.Free(); +} + } // namespace AMSICA