diff options
author | Michael Mann <mmann78@netscape.net> | 2015-01-07 20:25:29 -0500 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-01-08 07:24:15 +0000 |
commit | 20414ebf4b6851fbe578732fb3b8fb948b32e7c9 (patch) | |
tree | b4fd8804d97254d1898d78a01229bbb2646b06cf /epan/xdlc.c | |
parent | cff098e3eb6a871a1e39559d27b33dc3a3437c2c (diff) |
Replace some ep_alloc and ep_alloc0 with its wmem equivalent.
These cases were pretty easy to identify. Also replaced some comments that referenced ep_alloced memory, when it's now in fact wmem_alloced.
Change-Id: I07d2f390a9c0b34aa2956880476755d1acf5db0a
Reviewed-on: https://code.wireshark.org/review/6392
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/xdlc.c')
-rw-r--r-- | epan/xdlc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/xdlc.c b/epan/xdlc.c index 03793ba61f..e4a0f0564c 100644 --- a/epan/xdlc.c +++ b/epan/xdlc.c @@ -243,7 +243,7 @@ dissect_xdlc_control(tvbuff_t *tvb, int offset, packet_info *pinfo, const gchar *frame_type = NULL; const gchar *modifier; - info=(char *)ep_alloc(80); + info=(char *)wmem_alloc(wmem_packet_scope(), 80); switch (tvb_get_guint8(tvb, offset) & 0x03) { case XDLC_S: |