aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rmt-fec.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-rmt-fec.c')
-rw-r--r--epan/dissectors/packet-rmt-fec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-rmt-fec.c b/epan/dissectors/packet-rmt-fec.c
index 573dbd1387..eb3f3776a5 100644
--- a/epan/dissectors/packet-rmt-fec.c
+++ b/epan/dissectors/packet-rmt-fec.c
@@ -181,7 +181,10 @@ void fec_dissector(struct _fec_ptr f, tvbuff_t *tvb, proto_tree *tree, guint *of
ti = proto_tree_add_item(tree, f.hf->header, tvb, *offset, -1, FALSE);
fec_tree = proto_item_add_subtree(ti, f.ett->main);
} else
+ {
+ ti = NULL;
fec_tree = NULL;
+ }
/* FEC Encoding ID and FEC Instance ID processing */
if (f.fec->encoding_id_present)