Closed
Description
Board
DFRobot FireBeetle2
Device Description
None
Hardware Configuration
None
Version
v2.0.2
IDE Name
PlateformIO
Operating System
Win11
Flash frequency
80
PSRAM enabled
no
Upload speed
115200
Description
A project I'm working on uses DNSServer
on demand and I noticed a memory leak.
Memory is allocated in the DNSServer
class constructor but there's no destructor to free it.
https://github.com/espressif/arduino-esp32/blob/master/libraries/DNSServer/src/DNSServer.cpp#L16
https://github.com/espressif/arduino-esp32/blob/master/libraries/DNSServer/src/DNSServer.cpp#L17
Sketch
None
Debug Message
None
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.
Metadata
Metadata
Assignees
Type
Projects
Status
Done