Forensic Medicine

A dead body in casuality showed fine leathery froth coming out of the mouth and nostrils and it comes out profusely on pressing the chest wall, cause is: