-
Notifications
You must be signed in to change notification settings - Fork 684
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 Leak in PcapLiveDeviceList #1685
Comments
@Dimi1010 can you take a look? You updated this code recently I believe... |
@seladb I found that using pcpp::P capLiveDeviceList::getInstance() has memory leaks. I used the same environment to test Tutorial-LiveTraffic in v23.09, and some other examples that use pcpp::P capLiveDeviceList::getInstance() also have memory leaks. I'm not sure if it's an issue with libpcap or this library. |
@Yangc6 If the memory leak is inside |
@seladb |
I am not showing any leaks. :/ PcapPlusPlus Version: master branch head (
|
Same with v23.09. PcapPlusPlus Version: v23.09
|
@Dimi1010 |
Bug description
Description
Build Tutorial-LiveTraffic example
Run with Valgrind:
sudo valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./Tutorial-LiveTraffic。Memory leak detected during network device enumeration in the PcapLiveDeviceList 。
Environment
Call Stack
The text was updated successfully, but these errors were encountered: