Set the per frame data pointer to NULL when a new frame is read in.
authorsharpe <sharpe@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 26 Mar 2000 07:03:52 +0000 (07:03 +0000)
committersharpe <sharpe@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 26 Mar 2000 07:03:52 +0000 (07:03 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1749 f5534014-38df-0310-8fa8-9805f1628bb7

file.c

diff --git a/file.c b/file.c
index b4143652d9c6ef7eb9aaa29c2a81323d1466fdab..00ddc6d8df9163b9354ab5e717972715720c49b3 100644 (file)
--- a/file.c
+++ b/file.c
@@ -1,7 +1,7 @@
 /* file.c
  * File I/O routines
  *
- * $Id: file.c,v 1.171 2000/03/20 04:55:10 guy Exp $
+ * $Id: file.c,v 1.172 2000/03/26 07:03:52 sharpe Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@zing.org>
@@ -665,6 +665,7 @@ wtap_dispatch_cb(u_char *user, const struct wtap_pkthdr *phdr, int offset,
 
   fdata->next = NULL;
   fdata->prev = NULL;
+  fdata->pfd  = NULL;
   fdata->pkt_len  = phdr->len;
   fdata->cap_len  = phdr->caplen;
   fdata->file_off = offset;