-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory Leaks in BLE and WiFi uses cases #96
Comments
I'll try to reproduce these 2 issues. |
The BLE API, when calling advertiseAsBeacon, API clear old data with .clear(), then copy the new data into new object , But, I don't think this a good solution!! |
@chengc843988 Thanks for the feedback, can you explain more on the There are several data members that get
Item 1 and 2 seems pretty safe to be for item 3, it is true that the buffer pointed by Perhaps you meant some other bugs? Can you clarify more? Many thanks for your help. |
<LEBLE.CPP> next call : run to line: 110 I had made line: 115 to this |
LINE: 1066 (LBLEPeriphral.cpp) |
https://zh.forum.labs.mediatek.com/t/7697-memory-leak/1382
2 memory leak cases are reported. This issue registers LBLE case. LWiFi case is registered as #100
Reproduce Steps
LBLE
Heap memory reduces when calling this repeatedly
repeatedly.
The text was updated successfully, but these errors were encountered: