aboutsummaryrefslogtreecommitdiff
path: root/src/lib/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/third_party')
-rw-r--r--src/lib/third_party/src/gcrypt/aesni.c2
-rw-r--r--src/lib/third_party/src/gcrypt_light.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/third_party/src/gcrypt/aesni.c b/src/lib/third_party/src/gcrypt/aesni.c
index d1379de6f..3ddf8cabe 100644
--- a/src/lib/third_party/src/gcrypt/aesni.c
+++ b/src/lib/third_party/src/gcrypt/aesni.c
@@ -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;
diff --git a/src/lib/third_party/src/gcrypt_light.c b/src/lib/third_party/src/gcrypt_light.c
index 512f67bb5..5a4321e75 100644
--- a/src/lib/third_party/src/gcrypt_light.c
+++ b/src/lib/third_party/src/gcrypt_light.c
@@ -22,7 +22,7 @@
/****************************/
#define mbedtls_calloc ndpi_calloc
-#define mbedtls_free ndpi_free
+#define mbedtls_free ndpi_free
#include "gcrypt_light.h"