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);