No, most simple carbon monoxide detectors cannot detect a gas leak.  However, there are some specialized gas leak detectors that detect explosive gases (such as natural gas, propane, or methane) that also detect carbon monoxide—but you need to get this kind of specialized, hybrid device like the First Alert Explosive Gas and Carbon Monoxide Detector (view at Amazon).