free memory from getline - fix memory leak