Improved missing usage of nDPIs malloc wrapper. Fixes #1978. (#1979)

* added CI check

Signed-off-by: lns <matzeton@googlemail.com>
This commit is contained in:
Toni
2023-05-20 16:18:52 +02:00
committed by GitHub
parent 8f718c9051
commit 5e8f93c2d1
8 changed files with 57 additions and 9 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ int mbedtls_aesni_has_support( unsigned int what )
break; /* We giveup */
}
free(line);
ndpi_free(line);
fclose(fd);
has_aesni_checked = 1;
+1 -1
View File
@@ -22,7 +22,7 @@
/****************************/
#define mbedtls_calloc ndpi_calloc
#define mbedtls_free ndpi_free
#define mbedtls_free ndpi_free
#include "gcrypt_light.h"