aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-actrace.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-06-04 13:52:46 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-06-04 13:52:46 +0000
commitb69547925ff7bdd87b52c73496ad7d356c6f115a (patch)
tree49f55080f639dc3217e81b3ef7a529109fbb374a /epan/dissectors/packet-actrace.c
parent2a30b1eff977d00dd5d204d24a7f4f2745f14b0b (diff)
Get rid of a couple of warnings.
svn path=/trunk/; revision=43066
Diffstat (limited to 'epan/dissectors/packet-actrace.c')
-rw-r--r--epan/dissectors/packet-actrace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-actrace.c b/epan/dissectors/packet-actrace.c
index b012589012..fd99868f17 100644
--- a/epan/dissectors/packet-actrace.c
+++ b/epan/dissectors/packet-actrace.c
@@ -637,7 +637,7 @@ static void dissect_actrace_cas(tvbuff_t *tvb, packet_info *pinfo, proto_tree *a
if (frame_label != NULL) {
/* Initialise packet info for passing to tap */
- actrace_pi = ep_alloc(sizeof(actrace_info_t));
+ actrace_pi = ep_new(actrace_info_t);
actrace_pi->type = ACTRACE_CAS;
actrace_pi->direction = direction;
@@ -675,7 +675,7 @@ static void dissect_actrace_isdn(tvbuff_t *tvb, packet_info *pinfo, proto_tree *
/* if it is a q931 packet (we don't want LAPD packets for Voip Graph) add tap info */
if (len > 4) {
/* Initialise packet info for passing to tap */
- actrace_pi = ep_alloc(sizeof(actrace_info_t));
+ actrace_pi = ep_new(actrace_info_t);
actrace_pi->type = ACTRACE_ISDN;
actrace_pi->direction = (value==PSTN_TO_BLADE?1:0);