mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[PR #468] [MERGED] WiFiManagerParameter allocates but never frees __value! #1626
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#1626
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/tzapu/WiFiManager/pull/468
Author: @liebman
Created: 12/9/2017
Status: ✅ Merged
Merged: 1/30/2018
Merged by: @tablatronix
Base:
master← Head:param-value-memory-leak📝 Commits (2)
a5ff5cbAdd WiFiManagerParameter destructor to free new'd _value, it was allocated but never free'd5c6252fshould use delete[] not delete📊 Changes
2 files changed (+7 additions, -0 deletions)
View changed files
📝
WiFiManager.cpp(+6 -0)📝
WiFiManager.h(+1 -0)📄 Description
The WiFiManagerParameter constructor allocates _value via new but has no destructor to free via delete.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.