I get this error from valgrind, apparently from a realloc(). Program compiles and runs as it\'s supposed to, but I need valgrind to not find any errors and I\'m unable to fi