diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-09-15 18:18:08 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-09-15 18:18:08 +0000 |
commit | 8c7cb82470037358f882b6dc1fcdd9fa1ddf4536 (patch) | |
tree | 89af44f5298f0c42102cc66f4a7e4cfe4eefefc2 | |
parent | 97659c67f3788b25166f148a3b9ee6b88b7248f4 (diff) | |
download | wireshark-8c7cb82470037358f882b6dc1fcdd9fa1ddf4536.tar.gz |
No need to use the pinfo pool
svn path=/trunk/; revision=52074
-rw-r--r-- | epan/dissectors/packet-ppi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ppi.c b/epan/dissectors/packet-ppi.c index b0c4f2c8f1..a2a4e42a0c 100644 --- a/epan/dissectors/packet-ppi.c +++ b/epan/dissectors/packet-ppi.c @@ -975,7 +975,7 @@ dissect_ppi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) while (fd_head) { if (fd_head->tvb_data && fd_head->len) { mpdu_count++; - mpdu_str = wmem_strdup_printf(pinfo->pool, "MPDU #%d", mpdu_count); + mpdu_str = wmem_strdup_printf(wmem_packet_scope(), "MPDU #%d", mpdu_count); next_tvb = tvb_new_chain(tvb, fd_head->tvb_data); add_new_data_source(pinfo, next_tvb, mpdu_str); |