A policewoman was also shot and seriously injured.
Germany was on high alert on Friday as police hunted for up to seven people suspected of plotting a New Year's Eve suicide attack in Munich in the name of the Islamic State group.
Police said they were examining a 'game' on the social network that asked people to be at the branch of the fast food chain where Friday's murderous rampage began in order to get free food.