aboutsummaryrefslogtreecommitdiffstats
path: root/ui/cli
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2016-10-18 20:34:37 -0400
committerPascal Quantin <pascal.quantin@gmail.com>2016-11-10 20:48:18 +0000
commit66fa31415ff8d520c71dc66718599e941ed05c29 (patch)
tree4ecb47b8faabeea22471682e85771410ec6e5d5e /ui/cli
parentb489b7ff7d4ba9f000f29c608515eb43059855ab (diff)
tcp: Fix Follow TCP tap data and when its tapped.
Use the model from the 2.0 branch and earlier that only "tapped" the follow data in a single location. This fixes duplicate data for reassembled data and handles out-of-order packets. Bug: 12855 Change-Id: I5268f13e3c08e9271acf026b859de693ad794c94 Reviewed-on: https://code.wireshark.org/review/18368 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'ui/cli')
-rw-r--r--ui/cli/tap-follow.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/cli/tap-follow.c b/ui/cli/tap-follow.c
index f3e3a4e245..5623db16fc 100644
--- a/ui/cli/tap-follow.c
+++ b/ui/cli/tap-follow.c
@@ -93,8 +93,7 @@ follow_free(follow_info_t *follow_info)
cli_follow_info_t* cli_follow_info = (cli_follow_info_t*)follow_info->gui_data;
g_free(cli_follow_info);
- g_free(follow_info->filter_out_filter);
- g_free(follow_info);
+ follow_info_free(follow_info);
}
#define BYTES_PER_LINE 16