I\'m trying to get a sequence of letters from the user, and put the input inside a dynamic array.
However, from a reason I can\'t quite figure out - realloc fails (retu
You are writing to deallocated memory.
memory_check is the newly reallocated pointer, you need to trade this value with first_string. first_string points to memory that has already now been freed (by realloc)
memory_check
first_string