Wireshark-dev: [Wireshark-dev] Free used in capture-pcap-util.c
From: "Anders Broman" <[email protected]>
Date: Mon, 5 May 2008 11:21:11 +0200
Title: Free used in capture-pcap-util.c

Hi,
Is there a reason for using free insted of g_free here?
Regards
Anders

Index: capture-pcap-util.c
===================================================================
--- capture-pcap-util.c (revision 25230)
+++ capture-pcap-util.c (working copy)
@@ -412,7 +412,7 @@
                        linktype_list = g_list_append(linktype_list,
                            data_link_info);
        }
-       free(linktypes);
+       g_free(linktypes);
 #else
        data_link_info = create_data_link_info(deflt);
        linktype_list = g_list_append(linktype_list, data_link_info);