summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-kingfisher.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-kingfisher.c')
-rw-r--r--epan/dissectors/packet-kingfisher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-kingfisher.c b/epan/dissectors/packet-kingfisher.c
index cba2c79010..88829e4546 100644
--- a/epan/dissectors/packet-kingfisher.c
+++ b/epan/dissectors/packet-kingfisher.c
@@ -219,7 +219,7 @@ dissect_kingfisher(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboolean
- kfp=ep_alloc(sizeof(kingfisher_packet_t));
+ kfp=ep_new(kingfisher_packet_t);
/* Verify that it looks like kingfisher */
/* the packet must be at least 9 bytes */