Closed mfunyu closed 10 months ago
$> LD_PRELOAD=./libft_malloc.so MallocDebug=1 git [ malloc] by _IO_file_doallocate : malloc(4096) = 0x7fe1bff01610 [realloc] : realloc(0x0, 1600) = 0x7fe1bff02810 [realloc] : realloc(0x0, 1024)allocating tiny = 0x7fe1c623b480 [realloc] : realloc(0x7fe1c623b480, 2048)freeing tiny magazine->top: 0x0 Error: pointer being freed was not allocated = 0x7fe1bff03010 [ free] by _IO_setb : free(0x7fe1bff01610) [ free] by _IO_fclose : free(0x7fe1c623b2a0) freeing tiny magazine->top: 0x0 Error: pointer being freed was not allocated [ malloc] : malloc(5)allocating tiny = 0x7fe1bf9ae010 [ malloc] : malloc(54)allocating tiny = 0x7fe1bf9ae030 [ malloc] : malloc(168)allocating tiny = 0x7fe1bf9ae070 [ malloc] : malloc(49)allocating tiny