Compare commits

...

2 commits

Author SHA1 Message Date
181fec9e37 Fixed a memory leak in Scintilla injection 2020-06-21 14:20:59 +10:00
Yaakov
6b2d78a3c8
Update README.md 2020-05-24 22:34:49 +10:00
3 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> <PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Version>1.0.1</Version> <Version>1.0.3</Version>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View file

@ -138,7 +138,7 @@ namespace Notepad.Extensions.Logging
} }
finally finally
{ {
VirtualFreeEx(remoteProcess.Handle, IntPtr.Zero, IntPtr.Zero, MEM_RELEASE); VirtualFreeEx(remoteProcess.Handle, mem, IntPtr.Zero, MEM_RELEASE);
} }
} }
} }

View file

@ -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. 4. Run your application.
## Source Material ## Source Material