Skip to content
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

Static code analysis _015 (The resource was not freed) #49

Open
PawelModrzejewski opened this issue Dec 2, 2020 · 0 comments
Open

Static code analysis _015 (The resource was not freed) #49

PawelModrzejewski opened this issue Dec 2, 2020 · 0 comments

Comments

@PawelModrzejewski
Copy link
Contributor

Short summary (details in attached file):

Event 32:  ifname has gone out of scope and no longer references the resource of interest.
There are no remaining references to the resource new () from daemon_cl.cpp:223.

The resource was allocated at daemon_cl.cpp:223.
The last reference was lost at daemon_cl.cpp:390.
The resource was not freed.

gptp_015.txt

PawelModrzejewski added a commit to PawelModrzejewski/gptp that referenced this issue Jan 19, 2021
Static code analysis fixes _005/_007..._011/_014..._016/_047

Issues: Avnu#41 Avnu#42 Avnu#43 Avnu#44 Avnu#45 Avnu#46 Avnu#48 Avnu#49 Avnu#50 Avnu#71

Minor main() refactoring and macro for deleting all objects created
during start up - limits memory leaks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant