From 8ee8808876191e1b398fced6a1712d2fded6da23 Mon Sep 17 00:00:00 2001 From: Evan Huus Date: Fri, 16 Jul 2021 11:36:34 -0400 Subject: 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. --- epan/dissectors/packet-cattp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-cattp.c') diff --git a/epan/dissectors/packet-cattp.c b/epan/dissectors/packet-cattp.c index d1533ea392..c5fb654a15 100644 --- a/epan/dissectors/packet-cattp.c +++ b/epan/dissectors/packet-cattp.c @@ -144,7 +144,7 @@ dissect_cattp_synpdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *cattp_tree, wmem_strbuf_t *buf; int i; - buf = wmem_strbuf_new(wmem_packet_scope(), ""); + buf = wmem_strbuf_new(pinfo->pool, ""); /* switch nibbles */ for (i = 0; i < idlen; i++) { -- cgit v1.2.3