diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-09-15 15:11:11 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-09-15 15:11:11 +0000 |
commit | 78508839049dfc7163096b13db9e89f9091708f6 (patch) | |
tree | 436cba2be2b1cef227f8b6ae3f2b08b2499374cb /epan/dissectors/packet-mac-lte-framed.c | |
parent | c5ffff76d87088bd66834af0ce8f2694d53fd54b (diff) |
emem -> wmem
svn path=/trunk/; revision=52063
Diffstat (limited to 'epan/dissectors/packet-mac-lte-framed.c')
-rw-r--r-- | epan/dissectors/packet-mac-lte-framed.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mac-lte-framed.c b/epan/dissectors/packet-mac-lte-framed.c index 2a42e41dbd..b70fc265e1 100644 --- a/epan/dissectors/packet-mac-lte-framed.c +++ b/epan/dissectors/packet-mac-lte-framed.c @@ -26,6 +26,7 @@ #include "config.h" #include <epan/packet.h> +#include <epan/wmem/wmem.h> #include "packet-mac-lte.h" @@ -64,7 +65,7 @@ static void dissect_mac_lte_framed(tvbuff_t *tvb, packet_info *pinfo, p_mac_lte_info = (struct mac_lte_info*)p_get_proto_data(pinfo->fd, proto_mac_lte, 0); if (p_mac_lte_info == NULL) { /* Allocate new info struct for this frame */ - p_mac_lte_info = (struct mac_lte_info*)se_alloc0(sizeof(struct mac_lte_info)); + p_mac_lte_info = (struct mac_lte_info*)wmem_alloc0(wmem_file_scope(), sizeof(struct mac_lte_info)); infoAlreadySet = FALSE; } else { |