linked_list_destroy didn't clean pointer to previous nodes