summaryrefslogtreecommitdiff
path: root/plugins/tpg
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-09-17 21:34:05 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-09-17 21:34:05 +0000
commit953c6fed13a771f58dda635859d12732ea6a6129 (patch)
tree17db6431957a80b6d6c76364068b6c8591e71a11 /plugins/tpg
parentaf15a51a6bdb1004ed2d1304106b0a8d24987615 (diff)
downloadwireshark-953c6fed13a771f58dda635859d12732ea6a6129.tar.gz
emem -> wmem
svn path=/trunk/; revision=52130
Diffstat (limited to 'plugins/tpg')
-rw-r--r--plugins/tpg/packet-http.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/tpg/packet-http.c b/plugins/tpg/packet-http.c
index b15219892d..9d6d4a5788 100644
--- a/plugins/tpg/packet-http.c
+++ b/plugins/tpg/packet-http.c
@@ -23,6 +23,8 @@
#include "config.h"
+#include <epan/wmem/wmem.h>
+
#include "http-parser.h"
#include <gmodule.h>
@@ -47,7 +49,7 @@ static int hf_http_request_uri = -1;
static dissector_handle_t http_handle;
static void dissect_http(tvbuff_t* tvb, packet_info* pinfo _U_, proto_tree* tree) {
- http_info_value_t* msgdata = ep_alloc0(sizeof(http_info_value_t));
+ http_info_value_t* msgdata = wmem_alloc0(wmem_packet_scope(), sizeof(http_info_value_t));
tvbparse_elem_t* reqresp;
tpg_parser_data_t* tpg;
proto_item* pi = proto_tree_add_item(tree,proto_http,tvb,0,-1,ENC_NA);