From c91a384702e6d17254918e2291d28bfd2deddbdd Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Wed, 13 May 2009 19:46:11 +0000 Subject: Apply some of the patches from: http://wiki.wireshark.org/Development/Optimization svn path=/trunk/; revision=28356 --- epan/dissectors/packet-fc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'epan/dissectors/packet-fc.c') diff --git a/epan/dissectors/packet-fc.c b/epan/dissectors/packet-fc.c index 0cf18f2466..31e12400e7 100644 --- a/epan/dissectors/packet-fc.c +++ b/epan/dissectors/packet-fc.c @@ -1124,10 +1124,9 @@ dissect_fc_helper (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboolean !is_lastframe_inseq); if (fcfrag_head) { - next_tvb = tvb_new_real_data (fcfrag_head->data, + next_tvb = tvb_new_child_real_data(tvb, fcfrag_head->data, fcfrag_head->datalen, fcfrag_head->datalen); - tvb_set_child_real_data_tvbuff(tvb, next_tvb); /* Add the defragmented data to the data source list. */ add_new_data_source(pinfo, next_tvb, "Reassembled FC"); -- cgit v1.2.3