mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-05-01 16:30:17 +00:00
ndpiReader: fix memory leak
Change the working directory of `ndpiReader` in the Github Actions so that it can load the domain suffix list during `domainsUnitTest()`
This commit is contained in:
parent
d29c2f3ad1
commit
b22fa558ff
2 changed files with 3 additions and 3 deletions
|
|
@ -5649,9 +5649,9 @@ void domainsUnitTest() {
|
|||
assert(strcmp(ndpi_get_host_domain_suffix(ndpi_info_mod, "www.unipi.it"), "it") == 0);
|
||||
assert(strcmp(ndpi_get_host_domain_suffix(ndpi_info_mod, "mail.apple.com"), "com") == 0);
|
||||
assert(strcmp(ndpi_get_host_domain_suffix(ndpi_info_mod, "www.bbc.co.uk"), "co.uk") == 0);
|
||||
|
||||
ndpi_exit_detection_module(ndpi_info_mod);
|
||||
}
|
||||
|
||||
ndpi_exit_detection_module(ndpi_info_mod);
|
||||
}
|
||||
|
||||
/* *********************************************** */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue