esp32_https_server
esp32_https_server copied to clipboard
Fixed memory leak in the Websocket example
The heap will fill up with memory leaks if the pointer of previous clients is nullified without freeing up their allocated memory.
It appears cleaning up dynamically allocated memory of individual WebsocketHandlers causes heap corruption, is memory cleanup handled by the library itself? I doubt that this is the case. There is an issue that is not visible in plain sight which has to do with memory deallocation.