Fixed invalid use of ndpi_free(). Sorry, my fault. (#1988)

* Fixed invalid use of ndpi_free(). Sorry, my fault.

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>

* Fine tuned symbol check script.

 * added check for expected syms in modules

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>

---------

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
Toni
2023-05-24 13:19:06 +02:00
committed by GitHub
parent f692342f3c
commit 334b43579e
2 changed files with 16 additions and 2 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ int mbedtls_aesni_has_support( unsigned int what )
break; /* We giveup */
}
ndpi_free(line);
free(line); // Do not replace with ndpi_free(). See `man 3 getline`.
fclose(fd);
has_aesni_checked = 1;