diff options
author | chleun.moon <chleun.moon@samsung.com> | 2017-07-18 15:34:09 +0900 |
---|---|---|
committer | chleun.moon <chleun.moon@samsung.com> | 2017-07-18 15:49:50 +0900 |
commit | 1d5f8c6d57404c0cf218d42fce051fbcc4955f0c (patch) | |
tree | 823cb29c0d61e83f2f4d718226e6a0e04e736ae4 | |
parent | 6f56177730c9cd684328083fe776a83b4045f13e (diff) | |
download | wifi-1d5f8c6d57404c0cf218d42fce051fbcc4955f0c.tar.gz wifi-1d5f8c6d57404c0cf218d42fce051fbcc4955f0c.tar.bz2 wifi-1d5f8c6d57404c0cf218d42fce051fbcc4955f0c.zip |
Remove destroy call in ReleaseHandle()submit/tizen/20170721.064234accepted/tizen/unified/20170724.020307
SafeWiFiAPHandle is used for WiFiNetwork and WiFiSecurity, which is
created by WiFiAP.
It has the same value as _apHandle in WiFiAP.
Dispose() of WiFiAP releases unmanaged memory by calling WiFi.AP.Destroy().
Therefore, the handle to be released by WiFi.AP.Destroy() in ReleaseHandle() is already freed in unmanaged.
Change-Id: I3a1efb0f5780123e6d8f3c5ffb70c2273df6ad86
Signed-off-by: cheoleun <chleun.moon@samsung.com>
-rwxr-xr-x | Tizen.Network.WiFi/Interop/Interop.WiFi.cs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Tizen.Network.WiFi/Interop/Interop.WiFi.cs b/Tizen.Network.WiFi/Interop/Interop.WiFi.cs index bc2fd1d..3d01a60 100755 --- a/Tizen.Network.WiFi/Interop/Interop.WiFi.cs +++ b/Tizen.Network.WiFi/Interop/Interop.WiFi.cs @@ -289,7 +289,6 @@ internal static partial class Interop protected override bool ReleaseHandle() { - WiFi.AP.Destroy(this.handle); this.SetHandle(IntPtr.Zero); return true; } |