Seems there's a memory leak in SetConnectionSettings?

Jan 21, 2013 at 8:01 AM

If I'm missing something, please let me know.

At "WlanManager::SetConnectionSettings" (File WlanManager.cs Line 292)

I've Seem

 

 IntPtr settingsPtr = Marshal.AllocHGlobal(Marshal.SizeOf(settings));

 

I think it our duty to call

Marshal.FreeHGlobal(settingsPtr);

but I hadn't seem that. Am I correct? or I'm missing something