cartridge ejector

noun

1.
a mechanism in a firearm that ejects the empty shell case after firing