androiddump: fix compilation with ANDROIDDUMP_USE_LIBPCAP define

Change-Id: I6edc4ff9f4db5fab9b80cb0be56639443ab22518
Reviewed-on: https://code.wireshark.org/review/20105
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
This commit is contained in:
Pascal Quantin 2017-02-14 18:22:57 +01:00
parent 0ed10658cf
commit bc29b8c9b6
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}