Wireshark-commits: [Wireshark-commits] master-2.6 f9ac361: wsutil: Fix pipe handle leaks on Windows

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 10 Apr 2019 20:34:37 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f9ac3614c38daa81678e0083000fbc343e7e2721
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

f9ac361 by Tomasz Moń (desowin@xxxxxxxxx):

    wsutil: Fix pipe handle leaks on Windows
    
    If the PATHEXT environment variable contains .py and extcap is enabled,
    then Wireshark did leak 2 pipes for every .py file present in the extcap
    directory (regardless if there was .bat wrapper for it or not).
    
    Bug: 15689
    Change-Id: Iae402c0075ee8155a7205a59711bbae734da7e9e
    Reviewed-on: https://code.wireshark.org/review/32812
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit b95933a031cbf7b76aa6cf8d3531473eb204d333)
    Reviewed-on: https://code.wireshark.org/review/32815
    

Actions performed:

    from  fa2ed52   Qt: use toLocalFile() instead of path() to check for existence.
     add  f9ac361   wsutil: Fix pipe handle leaks on Windows


Summary of changes:
 wsutil/ws_pipe.c | 11 +++++++++++
 1 file changed, 11 insertions(+)