microsoft / devkit-sdk

Arduino library and package for the MXChip IoT DevKit
https://aka.ms/devkit
MIT License
69 stars 52 forks source link

Memory leak from GetHostNameFromConnectionString #906

Closed ArthurMa1978 closed 6 years ago

ArthurMa1978 commented 6 years ago

Allocate the memory for hostname, but nowhere free it. So cause memory leak after reconnect that happens for each 47 mins.

ArthurMa1978 commented 6 years ago

Reported by Paul Batsii