Fixed it!

I think the problem was that line wasn't initialized, so
I did that with malloc.