Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: Re: [Wireshark-dev] Free used in capture-pcap-util.c

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: "Stig Bjørlykke" <stig@xxxxxxxxxxxxx>
Date: Mon, 5 May 2008 12:58:12 +0200

2008/5/5 Anders Broman <anders.broman@xxxxxxxxxxxx>:
> Is there a reason for using free insted of g_free here?

linktypes is allocated by pcap_list_datalinks(), which I suppose uses malloc.


-- 
Stig Bjørlykke

  • References:
    • [Wireshark-dev] Free used in capture-pcap-util.c
      • From: Anders Broman
  • Prev by Date: [Wireshark-dev] Free used in capture-pcap-util.c
  • Next by Date: [Wireshark-dev] Compiling with VS-2005
  • Previous by thread: [Wireshark-dev] Free used in capture-pcap-util.c
  • Next by thread: [Wireshark-dev] Compiling with VS-2005
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation