Themalloc/realloc/freefunctions defined inCryptlib/SysCall/BaseMemAllocation.care what actually get used, so just drop the explicit call toCRYPTO_set_mem_functions.