summaryrefslogtreecommitdiff
path: root/tests/findalldevstest.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/findalldevstest.c')
-rw-r--r--tests/findalldevstest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/findalldevstest.c b/tests/findalldevstest.c
index ef866920..e7f3caab 100644
--- a/tests/findalldevstest.c
+++ b/tests/findalldevstest.c
@@ -56,7 +56,7 @@ win32_strerror(DWORD error)
pcap_snprintf(p, ERRBUF_SIZE+1-(p-errbuf), " (%lu)", error);
return errbuf;
}
-
+
static char *
getpass(const char *prompt)
{
@@ -163,6 +163,7 @@ int main(int argc, char **argv)
}
}
+ pcap_freealldevs(alldevs);
exit(exit_status);
}