Wireshark-commits: [Wireshark-commits] master b6d20a2: Optimize reseting epan_dissect_t when filter
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 19 Jun 2014 23:33:16 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b6d20a27a149c1b09f17561f972d0f45a41de992
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

b6d20a2 by Jakub Zawadzki (darkjames@xxxxxxxxxxxx):

    Optimize reseting epan_dissect_t when filtering.
    
    Don't destroy interesting_hfids hash table, just remove all values.
    
    Change-Id: I119aaebf91aca8916aea0f15376ff2cb9d3fbc35
    Reviewed-on: https://code.wireshark.org/review/2467
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  db0e534   Changed a cast (from guint to guint64) in a call to gtk_tree_store_set().  The data is actually 64-bit, and was being fetched that way - but not stored that way - leading to some very strange (and large) values.
    adds  b6d20a2   Optimize reseting epan_dissect_t when filtering.


Summary of changes:
 epan/proto.c |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)