aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dcp-etsi.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-12-13 00:02:30 +0000
committerBill Meier <wmeier@newsguy.com>2011-12-13 00:02:30 +0000
commit95977fcc8b895df934499e3c18cd91ee00b9c577 (patch)
treec9cd4fc3171ea4d868aa48b31c71ee44c8b9f194 /epan/dissectors/packet-dcp-etsi.c
parentc3a535a5bf3e1bd72a2bc4f67094c93c3f6ae089 (diff)
Fix a memory leak of a tvb.
svn path=/trunk/; revision=40163
Diffstat (limited to 'epan/dissectors/packet-dcp-etsi.c')
-rw-r--r--epan/dissectors/packet-dcp-etsi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-dcp-etsi.c b/epan/dissectors/packet-dcp-etsi.c
index 1e36601a5d..b4b666105d 100644
--- a/epan/dissectors/packet-dcp-etsi.c
+++ b/epan/dissectors/packet-dcp-etsi.c
@@ -326,6 +326,8 @@ dissect_pft_fec_detailed(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree,
}
current_findex++; /* skip over the fragment we have */
}
+ tvb_free(dummytvb);
+
if(frag)
new_tvb = process_reassembled_data (tvb, offset, pinfo,
"Reassembled DCP (ETSI)",