diff options
author | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-01-01 10:23:37 +0000 |
---|---|---|
committer | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-01-01 10:23:37 +0000 |
commit | 562ae79ad33027ceca3aaeb1425b1645106b91f4 (patch) | |
tree | a5b6d83d2e8ecce673d2bc42f517b1c294d04143 /cfile.c | |
parent | 3b4df2aabb19226e22e251cecdeb4402d81d6732 (diff) |
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
Diffstat (limited to 'cfile.c')
-rw-r--r-- | cfile.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -51,7 +51,6 @@ init_cap_file(capture_file *cf) cf->is_tempfile = FALSE; cf->rfcode = NULL; cf->dfilter = NULL; - cf->dfcode = NULL; cf->has_snap = FALSE; cf->snap = WTAP_MAX_PACKET_SIZE; cf->count = 0; |