aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-udp.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2009-10-25 11:43:30 +0000
committerAnders Broman <anders.broman@ericsson.com>2009-10-25 11:43:30 +0000
commit88bb44a51e350c9749323242482dc5e944697d8f (patch)
treea19835aec094d07536c6def639d5d5d236f0a1cd /epan/dissectors/packet-udp.c
parent337896f4c6777bc0b84a2e017ebcbb52100a312b (diff)
From Jakub Zawadzki:
Cleanup dissector code - use proper memory functions. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4164 svn path=/trunk/; revision=30691
Diffstat (limited to 'epan/dissectors/packet-udp.c')
-rw-r--r--epan/dissectors/packet-udp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-udp.c b/epan/dissectors/packet-udp.c
index bf483de062..07441384d5 100644
--- a/epan/dissectors/packet-udp.c
+++ b/epan/dissectors/packet-udp.c
@@ -107,16 +107,16 @@ static gboolean try_heuristic_first = FALSE;
static struct udp_analysis *
init_udp_conversation_data(void)
{
- struct udp_analysis *udpd=NULL;
+ struct udp_analysis *udpd;
/* Initialize the udp protocol data structure to add to the udp conversation */
udpd = se_alloc0(sizeof(struct udp_analysis));
- memset(&udpd->flow1, 0, sizeof(udp_flow_t));
- memset(&udpd->flow2, 0, sizeof(udp_flow_t));
+ /*
udpd->flow1.username = NULL;
udpd->flow1.command = NULL;
udpd->flow2.username = NULL;
udpd->flow2.command = NULL;
+ */
return udpd;
}