diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-10-20 13:22:48 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-10-20 13:22:48 +0000 |
commit | 52e1697533cf1e66edac375ff961b7b27fb5cbfc (patch) | |
tree | 717341c342876207894ec784f5a98b75336ceaf1 /rawshark.c | |
parent | 65a538ffdb6d4de5e386eead2d8a74d3d992af43 (diff) |
wireshark: use epan_dissect_reset(), rawshark: fix missing epan_dissect_cleanup()
svn path=/trunk/; revision=52711
Diffstat (limited to 'rawshark.c')
-rw-r--r-- | rawshark.c | 2 |
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) { |