Skip to content

Memory leak #430

@chisheng

Description

@chisheng

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

What is the expected behavior?

in wifi.ap.hpp, I think the value retured by esp_netif_create_default_wifi_ap() shuled be destroy by call esp_netif_destroy_default_wifi() in ~WifiAp.The same situation occurs in esp_netif_create_default_wifi_sta().

What is the actual behavior?

Memory leak

Steps to reproduce.

  1. Step
  2. Step
  3. Step
    ...

Build or installation Logs.


More Information.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions