aboutsummaryrefslogtreecommitdiffstats
path: root/epan/xdlc.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/xdlc.c')
-rw-r--r--epan/xdlc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/xdlc.c b/epan/xdlc.c
index d6ce252cfd..c46fe5ef2a 100644
--- a/epan/xdlc.c
+++ b/epan/xdlc.c
@@ -172,7 +172,7 @@ dissect_xdlc_control(tvbuff_t *tvb, int offset, packet_info *pinfo,
const gchar *frame_type = NULL;
const gchar *modifier;
- info=(char *)wmem_alloc(wmem_packet_scope(), 80);
+ info=(char *)wmem_alloc(pinfo->pool, 80);
switch (tvb_get_guint8(tvb, offset) & 0x03) {
case XDLC_S: