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

This commit is contained in:
Roger A. Light 2014-09-17 22:58:46 +01:00
parent 74809c7781
commit 9d8510dfa2

View File

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