forked from osmocom/wireshark
rdp: allocate channel name in the file allocator
This commit is contained in:
parent
407ebfbf94
commit
5b90346b6d
|
@ -1443,7 +1443,7 @@ dissect_rdp_clientNetworkData(tvbuff_t *tvb, int offset, packet_info *pinfo, pro
|
|||
if (rdp_info) {
|
||||
rdp_channel_def_t *channel = &rdp_info->staticChannels[i];
|
||||
channel->value = -1; /* unset */
|
||||
channel->strptr = tvb_get_string_enc(pinfo->pool, tvb,
|
||||
channel->strptr = tvb_get_string_enc(wmem_file_scope(), tvb,
|
||||
offset, 8, ENC_ASCII);
|
||||
channel->channelType = find_known_channel_by_name(
|
||||
channel->strptr);
|
||||
|
|
Loading…
Reference in New Issue