aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-zbee-nwk.c
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2012-10-22 18:14:17 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2012-10-22 18:14:17 +0000
commit9680c9a9d93dfab15d6cf693cd330dfbd6fca722 (patch)
treec9ef07f8b5086ae033d4ed894dbdc168c84010f3 /epan/dissectors/packet-zbee-nwk.c
parent6147e6d1d54263ec538a19a1ed061cba862261e8 (diff)
Memory for address->data store in pinfo can no longer be ep_ allocated.
svn path=/trunk/; revision=45720
Diffstat (limited to 'epan/dissectors/packet-zbee-nwk.c')
-rw-r--r--epan/dissectors/packet-zbee-nwk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-zbee-nwk.c b/epan/dissectors/packet-zbee-nwk.c
index bc3a26be21..15ae820b5e 100644
--- a/epan/dissectors/packet-zbee-nwk.c
+++ b/epan/dissectors/packet-zbee-nwk.c
@@ -351,8 +351,7 @@ dissect_zbee_nwk(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
ieee802154_packet *ieee_packet = (ieee802154_packet *)pinfo->private_data;
guint offset = 0;
- gchar *src_addr = (gchar *)ep_alloc(32);
- gchar *dst_addr = (gchar *)ep_alloc(32);
+ static gchar src_addr[32], dst_addr[32]; /* has to be static due to SET_ADDRESS */
guint16 fcf;