[WiFi] Fix heap-buffer-use-after-free issue on ASAN (#6437)
authorchaeheehong <chaehee.hong@samsung.com>
Mon, 4 Nov 2024 08:13:13 +0000 (17:13 +0900)
committerGitHub <noreply@github.com>
Mon, 4 Nov 2024 08:13:13 +0000 (17:13 +0900)
src/Tizen.Network.WiFi/Interop/Interop.WiFi.cs

index 434d5bd2540e2b4f00ca4cc26d3b0978e189374b..580f0cc02686c543110bf39085236200c30587bf 100755 (executable)
@@ -361,7 +361,6 @@ internal static partial class Interop
 
             protected override bool ReleaseHandle()
             {
-                WiFi.Config.Destroy(this.handle);
                 this.SetHandle(IntPtr.Zero);
                 return true;
             }