aboutsummaryrefslogtreecommitdiffstats
path: root/rawshark.c
diff options
context:
space:
mode:
Diffstat (limited to 'rawshark.c')
-rw-r--r--rawshark.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rawshark.c b/rawshark.c
index 1cab9ab2fd..ded8d90ebd 100644
--- a/rawshark.c
+++ b/rawshark.c
@@ -1007,6 +1007,8 @@ load_cap_file(capture_file *cf)
process_packet(cf, &edt, data_offset, &phdr, pd);
}
+ epan_dissect_cleanup(&edt);
+
if (err != 0) {
/* Print a message noting that the read failed somewhere along the line. */
switch (err) {