diff options
Diffstat (limited to 'epan/dissectors/packet-s7comm.c')
-rw-r--r-- | epan/dissectors/packet-s7comm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-s7comm.c b/epan/dissectors/packet-s7comm.c index 76a8708a73..361cef714b 100644 --- a/epan/dissectors/packet-s7comm.c +++ b/epan/dissectors/packet-s7comm.c @@ -3165,7 +3165,7 @@ s7comm_decode_pistart_parameters(tvbuff_t *tvb, offset += 1; proto_tree_add_item(param_tree, hf[i], tvb, offset, len, ENC_ASCII|ENC_NA); wmem_strbuf_append(args_buf, "\""); - wmem_strbuf_append(args_buf, tvb_format_text(tvb, offset, len)); + wmem_strbuf_append(args_buf, tvb_format_text(pinfo->pool, tvb, offset, len)); if (i < nfields-1) { wmem_strbuf_append(args_buf, "\", "); } else { |