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

pppd/options.c: fix memory leak on error path (#441) #444

Closed
wants to merge 1 commit into from

Commits on Sep 1, 2023

  1. pppd/options.c: fix memory leak on error path (ppp-project#441)

    found by Coverity
    
    1803    if (path != arg)
    1804        free(path);
    
        CID 436214 (ppp-project#1 of 1): Resource leak (RESOURCE_LEAK)
        12. leaked_storage: Variable handle going out of scope leaks the
    	storage it points to.
    	1805    return 1;
    
    Signed-off-by: Ilya Shipitsin <[email protected]>
    chipitsine committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    cb7205d View commit details
    Browse the repository at this point in the history