Quantcast
Channel: C4FDevKit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 20

Created Issue: BUG in DiscoverAllDevices() - Missing Marshal.FreeHGlobal() [14090]

$
0
0
There is a bug in ServiceAndDeviceDiscovery.BluetoothDeviceServicesManager.DiscoverAllDevices()

The "while (0 == result)" loop should contain the following line at the end of the loop:

Marshal.FreeHGlobal(bufferPtr);

I have seen instances where you eventually run out of memory when calling this method a lot.

Viewing all articles
Browse latest Browse all 20

Latest Images

Trending Articles





Latest Images