Fix some more leaks in error returns from open routines (if the open can
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 4 Jun 2005 21:58:55 +0000 (21:58 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 4 Jun 2005 21:58:55 +0000 (21:58 +0000)
commitcab5b23b25fc72606795b7d60f76af520c3b9827
treef0a8353614e3f940e317fdf480a11e512d419fb8
parent26b01e5ac7aa0e058860f39f868da89c08e6f3bf
Fix some more leaks in error returns from open routines (if the open can
fail after the private data is allocated, you have to free the private
data).

The file header in nettl files is 128 bytes - use a #define for it, and
also a #define for the magic number size.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14553 f5534014-38df-0310-8fa8-9805f1628bb7
wiretap/libpcap.c
wiretap/netmon.c
wiretap/nettl.c