Use mosquitto memory allocation functions in uthash, to give better heap reporting.

pull/211/merge
Roger A. Light 11 years ago
parent 74809c7781
commit 9d8510dfa2

@ -17,3 +17,8 @@
#define strtok_r strtok_s #define strtok_r strtok_s
#define strerror_r(e, b, l) strerror_s(b, l, e) #define strerror_r(e, b, l) strerror_s(b, l, e)
#endif #endif
#define uthash_malloc(sz) _mosquitto_malloc(sz)
#define uthash_free(ptr,sz) _mosquitto_free(ptr)

Loading…
Cancel
Save