aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sna.c
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2009-05-13 19:46:11 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2009-05-13 19:46:11 +0000
commit7a110cbd72b578020d8ef6c867a316fdc5d9d759 (patch)
treee3d1280ddcbb3ea542ab9588b0e888da296a8cfe /epan/dissectors/packet-sna.c
parent87c84f537263f28c31357d6e72fceca5c1e914ab (diff)
Apply some of the patches from:
http://wiki.wireshark.org/Development/Optimization git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28356 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-sna.c')
-rw-r--r--epan/dissectors/packet-sna.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/epan/dissectors/packet-sna.c b/epan/dissectors/packet-sna.c
index 3f5f5adf71..bfc32a75d5 100644
--- a/epan/dissectors/packet-sna.c
+++ b/epan/dissectors/packet-sna.c
@@ -1714,13 +1714,9 @@ defragment_by_sequence(packet_info *pinfo, tvbuff_t *tvb, int offset, int mpf,
if (fd_head != NULL) {
/* We have the complete reassembled payload. */
- rh_tvb = tvb_new_real_data(fd_head->data,
+ rh_tvb = tvb_new_child_real_data(tvb, fd_head->data,
fd_head->len, fd_head->len);
- /* Add the tvbuff to the chain of tvbuffs
- * so that it will get cleaned up too. */
- tvb_set_child_real_data_tvbuff(tvb, rh_tvb);
-
/* Add the defragmented data to the data
* source list. */
add_new_data_source(pinfo, rh_tvb,