Commit ad37c0ad authored by David Woodhouse's avatar David Woodhouse

Avoid leaking vpninfo->platname

Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent b91b4a9f
......@@ -216,7 +216,7 @@ void openconnect_vpninfo_free(struct openconnect_info *vpninfo)
free(vpninfo->csd_starturl);
free(vpninfo->csd_waiturl);
free(vpninfo->csd_preurl);
free(vpninfo->platname);
if (vpninfo->opaque_srvdata)
xmlFreeNode(vpninfo->opaque_srvdata);
free(vpninfo->profile_url);
......
......@@ -187,7 +187,7 @@ struct openconnect_info {
const char *csd_xmltag;
int csd_nostub;
const char *platname;
char *platname;
char *mobile_platform_version;
char *mobile_device_type;
char *mobile_device_uniqueid;
......
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