From 562ae79ad33027ceca3aaeb1425b1645106b91f4 Mon Sep 17 00:00:00 2001 From: sahlberg Date: Mon, 1 Jan 2007 10:23:37 +0000 Subject: break out dfcode from the capture file structure and declare it locally where it is needed. allocate and release the dfcode program as needed instead of having it hang around in the capture file structure. this will ensure that dfcode will not have longer than se scope lifetime in case we need that property of it later git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20251 f5534014-38df-0310-8fa8-9805f1628bb7 --- cfile.h | 1 - 1 file changed, 1 deletion(-) (limited to 'cfile.h') diff --git a/cfile.h b/cfile.h index 33a9752593..a5b154158d 100644 --- a/cfile.h +++ b/cfile.h @@ -61,7 +61,6 @@ typedef struct _capture_file { wtap *wth; /* Wiretap session */ dfilter_t *rfcode; /* Compiled read (display) filter program */ gchar *dfilter; /* Display filter string */ - dfilter_t *dfcode; /* Compiled display filter program */ /* search */ gchar *sfilter; /* Search filter string */ gboolean sbackward; /* TRUE if search is backward, FALSE if forward */ -- cgit v1.2.3