Wireshark-commits: [Wireshark-commits] master 768a746: wireshark: Free the if_stat_cache_t when dum

Date Prev · Date Next · Thread Prev · Thread Next
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 31 Jan 2019 22:56:27 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=768a746ede4e06840846f7b11765edaf494aa994
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

768a746 by Vasil Velichkov (vvvelichkov@xxxxxxxxx):

    wireshark: Free the if_stat_cache_t when dumpcap is not forked
    
    Fixes ASAN test failures for test_wireshark_capture_from_stdin and
    test_wireshark_capture_from_fifo tests.
    
    Change-Id: I196fe2a299761f95e07b3091b934a566403e3e3f
    Reviewed-on: https://code.wireshark.org/review/31844
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  aa90f74   dftest: Always free the get_args_as_string result
     add  768a746   wireshark: Free the if_stat_cache_t when dumpcap is not forked


Summary of changes:
 ui/capture.c | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)