- implicitly declaring library function is bad manner :)
- adding missing free() calls - dont malloc ourselves as getline() also does a malloc (and anyway called realloc before if the size_t was smaller then the actual len(input-line) to behaviour is the same!)