diff --git a/m_vmemd/version.h b/m_vmemd/version.h
index e5e212b..9d5b23a 100644
--- a/m_vmemd/version.h
+++ b/m_vmemd/version.h
@@ -3,8 +3,8 @@
#define VERSION_MAJOR 5
#define VERSION_MINOR 17
-#define VERSION_REVISION 5
-#define VERSION_BUILD 234
+#define VERSION_REVISION 6
+#define VERSION_BUILD 235
#define VER_FILE_DESCRIPTION_STR "MemProcFS : Plugin vmemd"
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
diff --git a/memprocfs/version.h b/memprocfs/version.h
index 95e5d65..332283e 100644
--- a/memprocfs/version.h
+++ b/memprocfs/version.h
@@ -3,8 +3,8 @@
#define VERSION_MAJOR 5
#define VERSION_MINOR 17
-#define VERSION_REVISION 5
-#define VERSION_BUILD 234
+#define VERSION_REVISION 6
+#define VERSION_BUILD 235
#define VER_FILE_DESCRIPTION_STR "MemProcFS"
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
diff --git a/vmm/version.h b/vmm/version.h
index af4aa6b..31cb19e 100644
--- a/vmm/version.h
+++ b/vmm/version.h
@@ -3,8 +3,8 @@
#define VERSION_MAJOR 5
#define VERSION_MINOR 17
-#define VERSION_REVISION 5
-#define VERSION_BUILD 234
+#define VERSION_REVISION 6
+#define VERSION_BUILD 235
#define VER_FILE_DESCRIPTION_STR "MemProcFS : Core"
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
diff --git a/vmmpyc/version.h b/vmmpyc/version.h
index bfa7ca5..5774494 100644
--- a/vmmpyc/version.h
+++ b/vmmpyc/version.h
@@ -3,8 +3,8 @@
#define VERSION_MAJOR 5
#define VERSION_MINOR 17
-#define VERSION_REVISION 5
-#define VERSION_BUILD 234
+#define VERSION_REVISION 6
+#define VERSION_BUILD 235
#define VER_FILE_DESCRIPTION_STR "MemProcFS : Python API"
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
diff --git a/vmmrust/leechcore_example/Cargo.toml b/vmmrust/leechcore_example/Cargo.toml
index 6e41a09..b2b1ea2 100644
--- a/vmmrust/leechcore_example/Cargo.toml
+++ b/vmmrust/leechcore_example/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "leechcore_example"
-version = "5.17.5"
+version = "5.17.6"
edition = "2021"
publish = false
diff --git a/vmmrust/m_example_plugin/Cargo.toml b/vmmrust/m_example_plugin/Cargo.toml
index 6cd831b..b4561a5 100644
--- a/vmmrust/m_example_plugin/Cargo.toml
+++ b/vmmrust/m_example_plugin/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "m_example_plugin"
-version = "5.17.5"
+version = "5.17.6"
edition = "2021"
publish = false
diff --git a/vmmrust/memprocfs/Cargo.toml b/vmmrust/memprocfs/Cargo.toml
index f16861f..e94598a 100644
--- a/vmmrust/memprocfs/Cargo.toml
+++ b/vmmrust/memprocfs/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "memprocfs"
-version = "5.17.5"
+version = "5.17.6"
edition = "2021"
description = "MemProcFS - Physical Memory Analysis Framework"
documentation = "https://docs.rs/memprocfs"
diff --git a/vmmrust/memprocfs_example/Cargo.toml b/vmmrust/memprocfs_example/Cargo.toml
index 104bef5..03888df 100644
--- a/vmmrust/memprocfs_example/Cargo.toml
+++ b/vmmrust/memprocfs_example/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "memprocfs_example"
-version = "5.17.5"
+version = "5.17.6"
edition = "2021"
publish = false
diff --git a/vmmsharp/vmmsharp/Properties/AssemblyInfo.cs b/vmmsharp/vmmsharp/Properties/AssemblyInfo.cs
index caceba2..c1caa4f 100644
--- a/vmmsharp/vmmsharp/Properties/AssemblyInfo.cs
+++ b/vmmsharp/vmmsharp/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@ using System.Runtime.Versioning;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("5.17.5.234")]
-[assembly: AssemblyFileVersion("5.17.5.234")]
+[assembly: AssemblyVersion("5.17.6.235")]
+[assembly: AssemblyFileVersion("5.17.6.235")]
diff --git a/vmmsharp/vmmsharp/vmmsharp.csproj b/vmmsharp/vmmsharp/vmmsharp.csproj
index 5d429d7..21c9a2c 100644
--- a/vmmsharp/vmmsharp/vmmsharp.csproj
+++ b/vmmsharp/vmmsharp/vmmsharp.csproj
@@ -109,7 +109,7 @@
- 5.17.5
+ 5.17.6
https://github.com/ufrisk/MemProcFS
git
LICENSE
diff --git a/vmmsharp/vmmsharp/vmmsharp/Vmm.cs b/vmmsharp/vmmsharp/vmmsharp/Vmm.cs
index 5796b97..dd760e9 100644
--- a/vmmsharp/vmmsharp/vmmsharp/Vmm.cs
+++ b/vmmsharp/vmmsharp/vmmsharp/Vmm.cs
@@ -184,7 +184,10 @@ namespace Vmmsharp
{
}
// Free unmanaged objects.
- this.LeechCore.Dispose(); // Contains unmanaged handles
+ if (this.LeechCore != null)
+ {
+ this.LeechCore.Dispose(); // Contains unmanaged handles
+ }
IntPtr hVMM_Dispose = hVMM;
hVMM = IntPtr.Zero;
if(hVMM_Dispose != IntPtr.Zero)