Wireshark-commits: [Wireshark-commits] master 1df39d6: Qt: Fix removal of "Capture to a permanent f

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 20 Feb 2019 04:22:59 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=1df39d65f567803929f4b009409f872cd7c46622
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

1df39d6 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    Qt: Fix removal of "Capture to a permanent file" setting
    
    Make it possible to remove the "Capture to a permanent file" setting
    in Capture Interfaces Output dialog by turning off saving_to_file in
    updateInterfaces().
    
    Also make sure to free the old values for save_file and orig_save_file
    to avoid memory leaks.
    
    Set orig_save_file to the same as save_file from the '-w' option to
    fill in the current "Capture to a permanent file" value correctly.
    
    Change-Id: I1f4df8cfa279f934eff028f32838b9734b627af1
    Reviewed-on: https://code.wireshark.org/review/32111
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  efe920a   netscaler: fix crash when reading malformed packets.
     add  1df39d6   Qt: Fix removal of "Capture to a permanent file" setting


Summary of changes:
 capture_opts.c                      | 1 +
 ui/qt/capture_interfaces_dialog.cpp | 5 +++++
 2 files changed, 6 insertions(+)