From Graham Bloice:
[obnox/wireshark/wip.git] / docbook / wsdg_src / WSDG_chapter_dissection.xml
index 6ccc3bbd58b0870a95fad2daf1eaa67f21e67744..69d229a0d00ff1bcac11c629147d7e7d4c32bf3d 100644 (file)
@@ -682,7 +682,6 @@ dissect_foo(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
                next_tvb = tvb_new_real_data(decompressed_buffer, orig_size, orig_size);
                tvb_set_child_real_data_tvbuff(tvb, next_tvb);
                add_new_data_source(pinfo, next_tvb, "Decompressed Data");
-               tvb_set_free_cb(next_tvb, g_free);
        } else {
                next_tvb = tvb_new_subset(tvb, offset, -1, -1);
        }