Applying: malloc: free original oldmem with tcache in realloc