Wireshark-commits: [Wireshark-commits] master-3.0 d03096e: wsutil: Fix pipe handle leaks on Windows
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d03096ed854331a6ddaa854ceddf24dc3ce2d2fd
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark
Commits:
d03096e 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 0f209d36fde90617ba78dd0b9d6fc733aef77787)
Reviewed-on: https://code.wireshark.org/review/32814
Actions performed:
from e9a56c5 Qt: use toLocalFile() instead of path() to check for existence.
add d03096e wsutil: Fix pipe handle leaks on Windows
Summary of changes:
wsutil/ws_pipe.c | 11 +++++++++++
1 file changed, 11 insertions(+)