diff options
author | Peter Wu <peter@lekensteyn.nl> | 2019-01-23 17:30:01 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2019-01-23 17:23:36 +0000 |
commit | 8ce3450b246615d6ef17e0c3f09506d6830a8fec (patch) | |
tree | 5da8ab4fef3b97c2c24d8385e645d0619a146e1f /epan/dissectors/packet-sip.c | |
parent | ca28f41d7eb8d74b422c0fed7de7e5a76674a07b (diff) |
SDP: remove unused setup_proto field to fix memleaks
Bug: 15440
Change-Id: I2a543eef23e1b006928edef353e88b0612c5cdb7
Fixes: v2.9.0rc0-2676-gd68b7bc505 ("Add sip_call_id filter to RTP stream.")
Fixes: v2.9.0rc0-2720-g228da02fda ("RTP: Restructure call id handling.")
Link: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11845
Reviewed-on: https://code.wireshark.org/review/31701
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-sip.c')
-rw-r--r-- | epan/dissectors/packet-sip.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/packet-sip.c b/epan/dissectors/packet-sip.c index b8f6ad22f5..4496b96ec3 100644 --- a/epan/dissectors/packet-sip.c +++ b/epan/dissectors/packet-sip.c @@ -4676,7 +4676,6 @@ dissect_sip_common(tvbuff_t *tvb, int offset, int remaining_length, packet_info */ sdp_setup_info_t setup_info; - setup_info.setup_proto = g_strdup("SIP"); setup_info.hf_id = hf_sip_call_id_gen; setup_info.hf_type = SDP_TRACE_ID_HF_TYPE_STR; setup_info.trace_id = g_strdup(call_id); |