Skip to content

DNSServer cleanup #5179

Closed
Closed
@Makuna

Description

@Makuna

Basic Infos

DNSServer does not have a destructor which can cause memory leaks if dynamically allocated.

Problem Description

DNSServer needs a destructor. Currently you can destruct the object and leave the internal _buffer memory still allocated causing a memory leak.

This can be worked around by calling stop() before destructing, but this is an unsafe assumption.

p.s. This library also lacks the keywords file so there is no pretty colors in the Arduino IDE for the methods.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions