aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/file.c b/file.c
index 7b328b4b57..8b6619b97c 100644
--- a/file.c
+++ b/file.c
@@ -875,6 +875,7 @@ read_packet(capture_file *cf, long offset)
/* Allocate the next list entry, and add it to the list. */
fdata = g_mem_chunk_alloc(cf->plist_chunk);
+ fdata->num = -1;
fdata->next = NULL;
fdata->prev = NULL;
fdata->pfd = NULL;