aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pdcp-lte.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2010-01-25 11:47:39 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2010-01-25 11:47:39 +0000
commitc198fc65462567cf87c914dc7eff758f18680297 (patch)
tree03dd1faf270372972f7c1da1e0b81875d16eae54 /epan/dissectors/packet-pdcp-lte.c
parent17a01968d9904dcf2d4a35568755866cec7224ca (diff)
From Didier Gautheron via bug 4419:
se_alloc and ep_alloc never return NULL and se_alloc0 already initialized data with 0. svn path=/trunk/; revision=31654
Diffstat (limited to 'epan/dissectors/packet-pdcp-lte.c')
-rw-r--r--epan/dissectors/packet-pdcp-lte.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/epan/dissectors/packet-pdcp-lte.c b/epan/dissectors/packet-pdcp-lte.c
index 657bb971af..9e6e48c1f8 100644
--- a/epan/dissectors/packet-pdcp-lte.c
+++ b/epan/dissectors/packet-pdcp-lte.c
@@ -1396,9 +1396,6 @@ static gboolean dissect_pdcp_lte_heur(tvbuff_t *tvb, packet_info *pinfo,
if (p_pdcp_lte_info == NULL) {
/* Allocate new info struct for this frame */
p_pdcp_lte_info = se_alloc0(sizeof(struct pdcp_lte_info));
- if (p_pdcp_lte_info == NULL) {
- return FALSE;
- }
infoAlreadySet = FALSE;
}
else {