X-Git-Url: http://git.samba.org/samba.git/?p=obnox%2Fwireshark%2Fwip.git;a=blobdiff_plain;f=plugins%2Fdocsis%2Fpacket-regreq.c;h=246f385ed76556515b87f8c7289c87fc8b0dc141;hp=d3258877fc7c2de9f00f53a252e358f965ccbc9c;hb=f53596396116d9cfb0f062c7c7704b36674483f0;hpb=5f7191b2fc53f43a80f66a73847e404f05e0f3a8 diff --git a/plugins/docsis/packet-regreq.c b/plugins/docsis/packet-regreq.c index d3258877fc..246f385ed7 100644 --- a/plugins/docsis/packet-regreq.c +++ b/plugins/docsis/packet-regreq.c @@ -46,7 +46,7 @@ dissect_regreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) { proto_item *it; - proto_tree *regreq_tree; + proto_tree *regreq_tree = NULL; guint16 sid; tvbuff_t *next_tvb; @@ -67,10 +67,10 @@ dissect_regreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) regreq_tree = proto_item_add_subtree (it, ett_docsis_regreq); proto_tree_add_item (regreq_tree, hf_docsis_regreq_sid, tvb, 0, 2, FALSE); - /* Call Dissector for Appendix C TlV's */ - next_tvb = tvb_new_subset_remaining (tvb, 2); - call_dissector (docsis_tlv_handle, next_tvb, pinfo, regreq_tree); } + /* Call Dissector for Appendix C TlV's */ + next_tvb = tvb_new_subset_remaining (tvb, 2); + call_dissector (docsis_tlv_handle, next_tvb, pinfo, regreq_tree);