aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/asn1/h225/packet-h225-template.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/asn1/h225/packet-h225-template.c')
-rw-r--r--epan/dissectors/asn1/h225/packet-h225-template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/asn1/h225/packet-h225-template.c b/epan/dissectors/asn1/h225/packet-h225-template.c
index 93a88a2d40..4180bd2d06 100644
--- a/epan/dissectors/asn1/h225/packet-h225-template.c
+++ b/epan/dissectors/asn1/h225/packet-h225-template.c
@@ -371,7 +371,7 @@ dissect_h225_H323UserInformation(tvbuff_t *tvb, packet_info *pinfo, proto_tree *
/* Init struct for collecting h225_packet_info */
h225_pi = create_h225_packet_info(pinfo);
h225_pi->msg_type = H225_CS;
- p_add_proto_data(wmem_packet_scope(), pinfo, proto_h225, 0, h225_pi);
+ p_add_proto_data(pinfo->pool, pinfo, proto_h225, 0, h225_pi);
next_tvb_init(&h245_list);
next_tvb_init(&tp_list);
@@ -406,7 +406,7 @@ dissect_h225_h225_RasMessage(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree
/* Init struct for collecting h225_packet_info */
h225_pi = create_h225_packet_info(pinfo);
h225_pi->msg_type = H225_RAS;
- p_add_proto_data(wmem_packet_scope(), pinfo, proto_h225, 0, h225_pi);
+ p_add_proto_data(pinfo->pool, pinfo, proto_h225, 0, h225_pi);
col_set_str(pinfo->cinfo, COL_PROTOCOL, PSNAME);