In cap_pipe_open_live(), be sure to call ws_close(fd) before returning due to a coupl...
authorcmaynard <cmaynard@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 25 May 2012 01:32:26 +0000 (01:32 +0000)
committercmaynard <cmaynard@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 25 May 2012 01:32:26 +0000 (01:32 +0000)
commit570850134af818527f087402f24e8f3c4048c72f
tree380c71430c9be0ecd6f1f96dc4731bbe4408b6b9
parent436f78097c9dea33e190ff55547943299a030af7
In cap_pipe_open_live(), be sure to call ws_close(fd) before returning due to a couple of error condtions.  Fixes Coverity CID 702395 Resource leak.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@42844 f5534014-38df-0310-8fa8-9805f1628bb7
dumpcap.c