From bc29b8c9b616840af5322639f9ccc24bfb865844 Mon Sep 17 00:00:00 2001 From: Pascal Quantin Date: Tue, 14 Feb 2017 18:22:57 +0100 Subject: [PATCH] androiddump: fix compilation with ANDROIDDUMP_USE_LIBPCAP define Change-Id: I6edc4ff9f4db5fab9b80cb0be56639443ab22518 Reviewed-on: https://code.wireshark.org/review/20105 Reviewed-by: Pascal Quantin --- extcap/androiddump.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extcap/androiddump.c b/extcap/androiddump.c index 01b96f6185..7ca6f9f027 100644 --- a/extcap/androiddump.c +++ b/extcap/androiddump.c @@ -2785,7 +2785,10 @@ int main(int argc, char **argv) { end: /* clean up stuff */ extcap_base_cleanup(&extcap_conf); +#ifndef ANDROIDDUMP_USE_LIBPCAP wtap_cleanup(); +#endif + return ret; }