diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2012-11-03 20:51:19 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2012-11-03 20:51:19 +0000 |
commit | bdcdec560c5546529b1c97a6952b83d68ac2fe1e (patch) | |
tree | 29923a65040636f88e25ea469c0acf9d3913b54d /epan/epan.c | |
parent | 2e6f4fafd4de38817d1359a165b17b41c10a144a (diff) |
Manually revert r45669
svn path=/trunk/; revision=45884
Diffstat (limited to 'epan/epan.c')
-rw-r--r-- | epan/epan.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/epan/epan.c b/epan/epan.c index bf1a455b27..657b341988 100644 --- a/epan/epan.c +++ b/epan/epan.c @@ -218,20 +218,6 @@ epan_dissect_run_with_taps(epan_dissect_t *edt, struct wtap_pkthdr *phdr, } void -epan_dissect_reset(epan_dissect_t *edt) -{ - /* epan_dissect_cleanup(edt) without freeing tree */ - g_slist_free(edt->pi.dependent_frames); - free_data_sources(&edt->pi); - tvb_free_chain(edt->tvb); - - /* epan_dissect_init(edt, create_proto, visible_proto) */ - edt->pi.dependent_frames = NULL; - if (edt->tree) - proto_tree_reset(edt->tree); -} - -void epan_dissect_cleanup(epan_dissect_t* edt) { g_assert(edt); |