diff options
author | Evan Huus <eapache@gmail.com> | 2021-07-16 11:36:34 -0400 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2021-07-21 09:54:57 -0400 |
commit | 8ee8808876191e1b398fced6a1712d2fded6da23 (patch) | |
tree | 93c10e5c7397c4e94a0c250080ac34654efdf8d6 /epan/dissectors/packet-ipmi-trace.c | |
parent | 9ed273e5da0b8b3f62e021a255d7b98203d1c165 (diff) |
First pass pinfo->pool conversion, part 2
Automated find/replace of wmem_packet_scope() with pinfo->pool in all
files where it didn't cause a build failure.
Diffstat (limited to 'epan/dissectors/packet-ipmi-trace.c')
-rw-r--r-- | epan/dissectors/packet-ipmi-trace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ipmi-trace.c b/epan/dissectors/packet-ipmi-trace.c index a1962d058e..766b24b726 100644 --- a/epan/dissectors/packet-ipmi-trace.c +++ b/epan/dissectors/packet-ipmi-trace.c @@ -307,7 +307,7 @@ dissect_ipmi_trace(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* da if (str_len) { /* copy string */ - str = (gchar *) tvb_get_string_enc(wmem_packet_scope(), tvb, 11, str_len, ENC_ASCII|ENC_NA); + str = (gchar *) tvb_get_string_enc(pinfo->pool, tvb, 11, str_len, ENC_ASCII|ENC_NA); /* print the string right inside the column */ col_add_str(pinfo->cinfo, COL_INFO, str); |