replace *a lot* of file related calls by their GLib counterparts. This is necessary...
[obnox/wireshark/wip.git] / tap-protocolinfo.c
index 19d4cb0379a015ace2300d95ab3d715be953dcda..909ac8c240d6c9d9a3f6a73fc91487e9eb3acb93 100644 (file)
@@ -39,7 +39,7 @@
 #include "epan/column-utils.h"
 #include "epan/proto.h"
 #include <epan/tap.h>
-#include "stat.h"
+#include <epan/stat_cmd_args.h>
 #include "register.h"
 
 typedef struct _pci_t {
@@ -79,7 +79,6 @@ protocolinfo_packet(void *prs, packet_info *pinfo, epan_dissect_t *edt, const vo
                str=proto_construct_dfilter_string(gp->pdata[i], NULL);
                if(str){
                        col_append_fstr(pinfo->cinfo, COL_INFO, "  %s",str);
-                       g_free(str);
                }
        }
        return 0;