summaryrefslogtreecommitdiff
path: root/capinfos.c
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2017-02-04 16:26:34 +0100
committerDario Lombardo <lomato@gmail.com>2017-02-14 10:22:20 +0000
commit7c0c580c4b0093437ee81e11934ef5b8d27a5bb4 (patch)
tree45d46758e2ce26b82b8a5d066bd9b1f23e1165ec /capinfos.c
parentae0bdcc78c6cb2719e7aa5ae24e80584dec488a3 (diff)
downloadwireshark-7c0c580c4b0093437ee81e11934ef5b8d27a5bb4.tar.gz
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 <lomato@gmail.com> Reviewed-by: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Dario Lombardo <lomato@gmail.com>
Diffstat (limited to 'capinfos.c')
-rw-r--r--capinfos.c1
1 files changed, 1 insertions, 0 deletions
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;
}