Responsibility for codeshare connection
Codesharing doesn't really matter, you will be protected either way in case of a misconnect as long as all flights are on the same ticket. If the FRA-MLA flight is booked separately, then there will be no protection and you will be considered a no-show.