Wireshark-commits: [Wireshark-commits] master 632b402: Zero stat table elements instead of freeing
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 4 Aug 2015 16:15:19 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=632b4023faaa2b77e69d35148a8b6e98f032cc3d
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

632b402 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Zero stat table elements instead of freeing them.
    
    Stat table element arrays are allocated once at startup. Reset each
    element in free_stat_table() instead of freeing them.
    
    Change-Id: Ia63af93c76a1348bbb809137a521eead58a52dd1
    Reviewed-on: https://code.wireshark.org/review/9860
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    

Actions performed:

    from  3413ddf   EPL: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
    adds  632b402   Zero stat table elements instead of freeing them.


Summary of changes:
 epan/stat_tap_ui.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)