]> The Tcpdump Group git mirrors - libpcap/commit
From Florent Drouin: clean up resources when an open fails.
authorguy <guy>
Thu, 1 Feb 2007 02:58:39 +0000 (02:58 +0000)
committerguy <guy>
Thu, 1 Feb 2007 02:58:39 +0000 (02:58 +0000)
commitd5e7848c1e90dc291a702c4529fc14e8fef06868
tree3149bade4671460c5f5edb1be16113e6b6ab5f3a
parentb4c382fd7e28aab94f78f1131d2cdc4c0d48d39a
From Florent Drouin: clean up resources when an open fails.

In addition, clean up the allocation and freeing of the temporary
pathname string buffer.

Also, there's no need to set "md.device" (it's only used on Linux, and
even then used only with the old SOCK_PACKET sockets, where you have to
turn promiscuous mode off explicitly rather than having it turn off
automatically when you close the socket) or "md.timeout".
pcap-dag.c