Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix useragent leak
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Jun 12, 2012
1 parent 1e70b73 commit cc6957a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library.c
Expand Up @@ -95,6 +95,7 @@ void openconnect_vpninfo_free (struct openconnect_info *vpninfo)
#endif
vpninfo->peer_cert = NULL;
}
free(vpninfo->useragent);
/* No need to free deflate streams; they weren't initialised */
free(vpninfo);
}
Expand Down

0 comments on commit cc6957a

Please sign in to comment.