Commit cc6957a3 authored by David Woodhouse's avatar David Woodhouse

Fix useragent leak

Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 1e70b733
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment