Wireshark-commits: [Wireshark-commits] rev 25668: /trunk/ /trunk/: acinclude.m4 capture-pcap-util.c

Date: Fri, 04 Jul 2008 03:33:04 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=25668

User: guy
Date: 2008/07/03 08:33 PM

Log:
 If we have pcap_free_datalinks(), use it.  If not, then, on Windows,
 just leak the list returned by pcap_list_datalinks(), as there's no
 guarantee that if you have a library built with one version of the
 MSVC++ run-time library, and it returns a pointer to allocated data, you
 can free that data from a program linked with another version of the
 MSVC++ run-time library.  (This is not an issue on UN*X.)
 
 This should fix bug 2677.

Directory: /trunk/
  Changes    Path                   Action
  +1 -1      acinclude.m4           Modified
  +25 -2     capture-pcap-util.c    Modified
  +26 -0     capture-wpcap.c        Modified