Skip to content

[Question for Improvement]: replace new and delete/[] by the Smart Pointers #919

Open
@hasenradball

Description

@hasenradball

@earlephilhower @Links2004 ,

Hey two guys ,

I am using this repo in my project and I observe very often that the Web part does not react any more.
So it is like the server is gone in a way but the chip (here the ESP8266) shows connected to the wifi.
I saw the release infos and looked into the code.

So I came to the idea, would it not be a good thing to replace the new and delete by the Smart pointers like std::unique_ptr and it friends to prevent from memory leakage in future.
Memory leakage is difficult to detect, so I think it would be a good point.

What do you mean about this?

Frank

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions