From Chris Maynard: free strings fetched with "tvb_fake_unicode()".

svn path=/trunk/; revision=12956
This commit is contained in:
Guy Harris 2005-01-05 10:17:09 +00:00
parent c0f439e6ff
commit db204c7045
1 changed files with 1 additions and 0 deletions

View File

@ -2343,6 +2343,7 @@ dissect_krb5_PAC_CLIENT_INFO_TYPE(packet_info *pinfo _U_, proto_tree *parent_tre
/* client name */
name=tvb_fake_unicode(tvb, offset, namelen/2, TRUE);
proto_tree_add_string(tree, hf_krb_pac_clientname, tvb, offset, namelen, name);
g_free(name);
offset+=namelen;
return offset;