From 52e1697533cf1e66edac375ff961b7b27fb5cbfc Mon Sep 17 00:00:00 2001 From: Jakub Zawadzki Date: Sun, 20 Oct 2013 13:22:48 +0000 Subject: wireshark: use epan_dissect_reset(), rawshark: fix missing epan_dissect_cleanup() svn path=/trunk/; revision=52711 --- rawshark.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rawshark.c') 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) { -- cgit v1.2.3