aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-giop.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2009-05-14 19:11:43 +0000
committerAnders Broman <anders.broman@ericsson.com>2009-05-14 19:11:43 +0000
commit5f538e901da1c56b5392e8f7f99f4709f28c11f4 (patch)
tree98d31cbdd9e0a13497383d66e7db1aef29d51d51 /epan/dissectors/packet-giop.c
parent2289fa0d21759ee8c6e34971a205b62343a8e18f (diff)
Apply some of the patches from:
http://wiki.wireshark.org/Development/Optimization svn path=/trunk/; revision=28362
Diffstat (limited to 'epan/dissectors/packet-giop.c')
-rw-r--r--epan/dissectors/packet-giop.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-giop.c b/epan/dissectors/packet-giop.c
index eaf56b2568..36594f25fd 100644
--- a/epan/dissectors/packet-giop.c
+++ b/epan/dissectors/packet-giop.c
@@ -3962,8 +3962,7 @@ static void dissect_giop_common (tvbuff_t * tvb, packet_info * pinfo, proto_tree
if (header.flags & 0x08)
{
- payload_tvb = tvb_uncompress( tvb, GIOP_HEADER_SIZE, tvb_length_remaining(tvb, GIOP_HEADER_SIZE ) );
- tvb_set_child_real_data_tvbuff( tvb, payload_tvb );
+ payload_tvb = tvb_child_uncompress(tvb, tvb, GIOP_HEADER_SIZE, tvb_length_remaining(tvb, GIOP_HEADER_SIZE ) );
add_new_data_source (pinfo, payload_tvb, "decompressed Content");
}