From 6be0e119060ffc520a735e6e83264a00a9229b50 Mon Sep 17 00:00:00 2001 From: Kovarththanan Rajaratnam Date: Thu, 3 Sep 2009 14:41:09 +0000 Subject: [PATCH] Remove superfluous assignment svn path=/trunk/; revision=29686 --- file.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/file.c b/file.c index ceb3390b13..03e4d64487 100644 --- a/file.c +++ b/file.c @@ -3701,10 +3701,9 @@ cf_select_packet(capture_file *cf, int row) cf->current_row = row; /* Create the logical protocol tree. */ - if (cf->edt != NULL) { + if (cf->edt != NULL) epan_dissect_free(cf->edt); - cf->edt = NULL; - } + /* We don't need the columns here. */ cf->edt = epan_dissect_new(TRUE, TRUE);