Wireshark-commits: [Wireshark-commits] master 456312e: dumpcap: fix memleak on exit

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 11 Sep 2016 12:39:37 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=456312e22b06dd900ce11776f35321c0a158ea7e
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

456312e by Peter Wu (peter@xxxxxxxxxxxxx):

    dumpcap: fix memleak on exit
    
    Invocation of tshark -D (dumpcap -D -Z none) under ASAN fails with:
    
        tshark: Child dumpcap process died: Abort - core dumped
    
    Change-Id: Ida363089066205d579e841b019b32c2e33516f12
    Reviewed-on: https://code.wireshark.org/review/17633
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  5831501   extcap: fix use-after-free for preferences
    adds  456312e   dumpcap: fix memleak on exit


Summary of changes:
 dumpcap.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)