diff --git a/Notepad.Extensions.Logging/Notepad.Extensions.Logging.csproj b/Notepad.Extensions.Logging/Notepad.Extensions.Logging.csproj index 4ede967..c6023b6 100644 --- a/Notepad.Extensions.Logging/Notepad.Extensions.Logging.csproj +++ b/Notepad.Extensions.Logging/Notepad.Extensions.Logging.csproj @@ -11,7 +11,7 @@ Apache-2.0 true true - 1.0.1 + 1.0.3 diff --git a/Notepad.Extensions.Logging/NotepadLogger.cs b/Notepad.Extensions.Logging/NotepadLogger.cs index 6400044..a591365 100644 --- a/Notepad.Extensions.Logging/NotepadLogger.cs +++ b/Notepad.Extensions.Logging/NotepadLogger.cs @@ -138,7 +138,7 @@ namespace Notepad.Extensions.Logging } finally { - VirtualFreeEx(remoteProcess.Handle, IntPtr.Zero, IntPtr.Zero, MEM_RELEASE); + VirtualFreeEx(remoteProcess.Handle, mem, IntPtr.Zero, MEM_RELEASE); } } } diff --git a/README.md b/README.md index 3540414..3e1216a 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ public void ConfigureServices(IServiceCollection services) } ``` -3. Open a new Notepad window. +3. Open a new Notepad, Notepad++, or Notepad2 window. 4. Run your application. ## Source Material