add link to upstream bug related to custom malloc/free

Change-Id: If58d307bbdade5d4d7c5e39ada8c14c052d215a9
This commit is contained in:
Harald Welte 2021-01-13 10:41:41 +01:00 committed by laforge
parent 55956f4512
commit eaee3e30b1
1 changed files with 1 additions and 0 deletions

View File

@ -682,6 +682,7 @@ int rest_api_init(void *ctx, uint16_t port)
int i;
#ifdef ULFIUS_MALLOC_NOT_BROKEN
/* See https://github.com/babelouest/ulfius/issues/63 */
g_tall_rest = ctx;
o_set_alloc_funcs(my_o_malloc, my_o_realloc, my_o_free);
#endif