Wireshark-commits: [Wireshark-commits] master 6cff5c6: Add wmem_map_new_autoreset

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 28 Jan 2017 13:00:19 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6cff5c6776f08eb3d580eba9c9441c64f267923b
Submitter: Evan Huus (eapache@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

6cff5c6 by Michael Mann (mmann78@xxxxxxxxxxxx):

    Add wmem_map_new_autoreset
    
    This can be used similarly to wmem_tree_new_autoreset for hash tables that need
    reset after capture file change.
    
    Change-Id: I3a2f0b0a0cad3eca46266523c594d3d7aac17489
    Reviewed-on: https://code.wireshark.org/review/19794
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
    

Actions performed:

    from  618df24   decode_as: Initialize decode_as_list after free
    adds  6cff5c6   Add wmem_map_new_autoreset


Summary of changes:
 debian/libwireshark0.symbols |    1 +
 epan/wmem/wmem_map.c         |   87 ++++++++++++++++++++++++++++++++++++++++--
 epan/wmem/wmem_map.h         |   18 +++++++++
 epan/wmem/wmem_test.c        |   21 +++++++++-
 4 files changed, 123 insertions(+), 4 deletions(-)