aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sip.c
diff options
context:
space:
mode:
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>2010-11-04 20:53:02 +0000
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>2010-11-04 20:53:02 +0000
commit1904cae7ac5e648e83ee545efdf10f578cca7de9 (patch)
tree775b5b5da811453962c8568eba2a3c5aaea2126f /epan/dissectors/packet-sip.c
parentd84e8774cf4f8472b434c04b6517fefbf0113ae9 (diff)
Prevent false related packet information, which may be missing or ignored.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34779 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-sip.c')
-rw-r--r--epan/dissectors/packet-sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-sip.c b/epan/dissectors/packet-sip.c
index f0d7027988..05763db2ed 100644
--- a/epan/dissectors/packet-sip.c
+++ b/epan/dissectors/packet-sip.c
@@ -3303,7 +3303,7 @@ guint sip_is_packet_resend(packet_info *pinfo,
sip_frame_result = p_get_proto_data(pinfo->fd, proto_sip);
if (sip_frame_result == NULL)
{
- sip_frame_result = se_alloc(sizeof(sip_frame_result_value));
+ sip_frame_result = se_alloc0(sizeof(sip_frame_result_value));
}
/* Store return value with this packet */