Wireshark-commits: [Wireshark-commits] master d1a8213: editcap: fix memleaks
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 10 Sep 2016 13:01:17 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d1a82132a62bbd5c20e0490c6f7d693c318481d1
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

d1a8213 by Peter Wu (peter@xxxxxxxxxxxxx):

    editcap: fix memleaks
    
    The version string stuff mirrors an earlier tshark change. Move some
    cleanup calls (in case no packets are selected) and add wtap_close.
    
    Change-Id: I6f282e89279a732c226824e10857be04b40841e8
    Reviewed-on: https://code.wireshark.org/review/17621
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  ba2a3b3   wiretap: fix memory leak of interface_data for wtap_dumper
    adds  d1a8213   editcap: fix memleaks


Summary of changes:
 editcap.c |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)