Zephyr: Track memory allocations

This commit is contained in:
Jon Shallow authored and Jon Shallow committed 2024-12-02 10:04:23 +00:00
1 parent 9b0ec2dae0
commit 3457c2e2fd
4 files changed
+11 -4

No files matched your search

+2
View File
@@ -84,6 +84,8 @@
#define mbedtls_realloc(a,b) realloc(a,b)
#define mbedtls_strdup(a) strdup(a)
#define mbedtls_strndup(a,b) strndup(a,b)
#undef mbedtls_free
#define mbedtls_free(a) free(a)
#ifndef MBEDTLS_KEY_EXCHANGE__SOME__PSK_ENABLED
/* definition changed in later mbedtls code versions */