From 7c0c580c4b0093437ee81e11934ef5b8d27a5bb4 Mon Sep 17 00:00:00 2001 From: Dario Lombardo Date: Sat, 4 Feb 2017 16:26:34 +0100 Subject: wiretap: add cleanup routine. The cleanup routine has been added to exit section of the applications. Those which required a exit restyle have been patched as well. Change-Id: I3a8787f0718ac7fef00dc58176869c7510fda7b1 Reviewed-on: https://code.wireshark.org/review/19949 Petri-Dish: Dario Lombardo Reviewed-by: Peter Wu Tested-by: Petri Dish Buildbot Reviewed-by: Dario Lombardo --- capinfos.c | 1 + 1 file changed, 1 insertion(+) (limited to 'capinfos.c') diff --git a/capinfos.c b/capinfos.c index fcdbb1ff9c..2bce743d26 100644 --- a/capinfos.c +++ b/capinfos.c @@ -1709,6 +1709,7 @@ main(int argc, char *argv[]) exit: g_free(hash_buf); + wtap_cleanup(); return overall_error_status; } -- cgit v1.2.3