mirror of
https://github.com/yaakov-h/Notepad.Extensions.Logging.git
synced 2024-11-21 10:44:49 +00:00
Fixed a memory leak in Scintilla injection
This commit is contained in:
parent
6b2d78a3c8
commit
181fec9e37
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
|||
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
|
||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<Version>1.0.1</Version>
|
||||
<Version>1.0.3</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue