diff options
author | Evan Huus <eapache@gmail.com> | 2021-09-28 15:04:23 -0400 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2021-09-28 15:07:55 -0400 |
commit | 3cdada3e7b2382106984da406ba45a1a6baf46dc (patch) | |
tree | d6bafbb041bede139c4388ad1e095add46ff9f45 /epan/dissectors/packet-etw.c | |
parent | 440bbd37a0ac91ce1303b31adb4afd300838036c (diff) |
guids: wmem-scope lookups
Avoids the use of the global unprotected packet memory pool and lets the
compiler enforce scoping.
Diffstat (limited to 'epan/dissectors/packet-etw.c')
-rw-r--r-- | epan/dissectors/packet-etw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-etw.c b/epan/dissectors/packet-etw.c index dd56f0d886..0f80520ef1 100644 --- a/epan/dissectors/packet-etw.c +++ b/epan/dissectors/packet-etw.c @@ -162,7 +162,7 @@ dissect_etw(tvbuff_t* tvb, packet_info* pinfo, proto_tree* tree _U_, void* data col_set_str(pinfo->cinfo, COL_PROTOCOL, provider_name); } } else { - col_set_str(pinfo->cinfo, COL_INFO, guids_resolve_guid_to_str(&provider_id)); + col_set_str(pinfo->cinfo, COL_INFO, guids_resolve_guid_to_str(&provider_id, pinfo->pool)); } etw_counter += 1; |