Wireshark-commits: [Wireshark-commits] master-2.2 53a33ea: dumpcap: fix memleak on exit

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 12 Sep 2016 07:11:20 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=53a33ea9cc8b1c9a8865c5439ce99227b30ef6a9
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

53a33ea 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>
    (cherry picked from commit 456312e22b06dd900ce11776f35321c0a158ea7e)
    Reviewed-on: https://code.wireshark.org/review/17653
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  a7d7c29   [Automatic update for 2016-09-11]
    adds  53a33ea   dumpcap: fix memleak on exit


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