This is a Walther Flare Pistol AC42. It shoots a 26.5 flare. That is size of all more modern flare guns too. These flare guns were used by the Heer (German Army), The Kreigsmarine (German Navy) and the Luftwaffe (the German Air force).
The left side.
The right side