We apply the general theorem on symmetries and conservation laws proved recently by N.H. Ibragimov to gasdynamic equations considered together with the adjoint equations. In particular, we derive conservation laws for the polytropic gas.