summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tshark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tshark.c b/tshark.c
index 059cff3770..4e4cb18306 100644
--- a/tshark.c
+++ b/tshark.c
@@ -4047,7 +4047,7 @@ static void reset_epan_mem(capture_file *cf,epan_dissect_t *edt, gboolean tree,
epan_free(cf->epan);
cf->epan = tshark_epan_new(cf);
- edt = epan_dissect_init(edt,cf->epan, tree, visual);
+ epan_dissect_init(edt, cf->epan, tree, visual);
cf->count = 0;
}