Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pppd/options.c: fix memory leak on error path (#441)
found by Coverity 602err: 603 fclose(f); 604 privileged_option = oldpriv; CID 436193 (#1 of 1): Resource leak (RESOURCE_LEAK)10. overwrite_var: Overwriting option_source in option_source = oldsource leaks the storage that option_source points to. 605 option_source = oldsource; Signed-off-by: Ilya Shipitsin <[email protected]>
- Loading branch information