Malloc causes segmentation fault when allocating a struct for a linked-list

welcome to shbcf.ru