diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-09-15 18:03:32 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-09-15 18:03:32 +0000 |
commit | 20a40260d7b8d0353f82f389b17c6c27223d8d95 (patch) | |
tree | a7670a45def65438a559090921ceeda76d9a1a3e /epan/dissectors/packet-ppi.c | |
parent | a54e67abce764d954d915d62f9d30b675b5262ce (diff) | |
download | wireshark-20a40260d7b8d0353f82f389b17c6c27223d8d95.tar.gz |
A few more dissectors converted to wmem
svn path=/trunk/; revision=52071
Diffstat (limited to 'epan/dissectors/packet-ppi.c')
-rw-r--r-- | epan/dissectors/packet-ppi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ppi.c b/epan/dissectors/packet-ppi.c index 2ef89b1ce2..b0c4f2c8f1 100644 --- a/epan/dissectors/packet-ppi.c +++ b/epan/dissectors/packet-ppi.c @@ -55,6 +55,7 @@ #include <epan/expert.h> #include <epan/reassemble.h> #include <epan/frequency-utils.h> +#include <epan/wmem/wmem.h> /* Needed for wtap_pcap_encap_to_wtap_encap(). */ #include <wiretap/pcap-encap.h> @@ -974,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 = ep_strdup_printf("MPDU #%d", mpdu_count); + mpdu_str = wmem_strdup_printf(pinfo->pool, "MPDU #%d", mpdu_count); next_tvb = tvb_new_chain(tvb, fd_head->tvb_data); add_new_data_source(pinfo, next_tvb, mpdu_str); |