Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up return paths in openconnect_obtain_cookie()
This should fix a potential leak of orig_host and orig_path, and cleans the code up to have a single exit once the fun starts. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
- Loading branch information
David Woodhouse
authored and
David Woodhouse
committed
Jul 24, 2014
1 parent
0e5eea8
commit 35a59dd
Showing
1 changed file
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters