From a041fc9a672329e8e36f0c8695395bb81f89c7b6 Mon Sep 17 00:00:00 2001 From: David Hall Date: Thu, 7 Sep 2023 14:58:46 -0600 Subject: [PATCH] Fixed incorrect AllocZeros value in HGlobalMemoryMethods --- Core/InteropServices/SafeHGlobalHandle.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/InteropServices/SafeHGlobalHandle.cs b/Core/InteropServices/SafeHGlobalHandle.cs index c2540e29..1f79450e 100644 --- a/Core/InteropServices/SafeHGlobalHandle.cs +++ b/Core/InteropServices/SafeHGlobalHandle.cs @@ -14,7 +14,7 @@ namespace Vanara.InteropServices public sealed class HGlobalMemoryMethods : IMemoryMethods { /// - bool ISimpleMemoryMethods.AllocZeroes => true; + bool ISimpleMemoryMethods.AllocZeroes => false; /// Gets a value indicating whether this memory supports locking. /// if lockable; otherwise, .