aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-3g-a11.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-09-12 20:37:30 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-09-12 20:37:30 +0000
commitefe18f199c648b02e180c8c2b6e8e42f5941b306 (patch)
tree10865a195d2321f0a2d064ec5305e2dd873c538a /epan/dissectors/packet-3g-a11.c
parentac7ecb10d2c2fbd474991f0f22257587cb2b31f1 (diff)
Convert a few dissectors from emem to wmem API
svn path=/trunk/; revision=51983
Diffstat (limited to 'epan/dissectors/packet-3g-a11.c')
-rw-r--r--epan/dissectors/packet-3g-a11.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-3g-a11.c b/epan/dissectors/packet-3g-a11.c
index f70ef1f38f..72fd32695c 100644
--- a/epan/dissectors/packet-3g-a11.c
+++ b/epan/dissectors/packet-3g-a11.c
@@ -45,6 +45,7 @@
#include <epan/packet.h>
#include <epan/expert.h>
+#include <epan/wmem/wmem.h>
/* Include vendor id translation */
#include <epan/sminmpec.h>
@@ -605,7 +606,7 @@ decode_sse(proto_tree *ext_tree, tvbuff_t *tvb, int offset, guint ext_len)
return;
}
- msid_digits = (char *)ep_alloc(A11_MSG_MSID_LEN_MAX+2);
+ msid_digits = (char *)wmem_alloc(wmem_packet_scope(), A11_MSG_MSID_LEN_MAX+2);
msid_start_offset = offset;
if (msid_len > A11_MSG_MSID_ELEM_LEN_MAX)