Every grand juror, district attorney, clerk, judge, or other officer, who, except by issuing or in executing a warrant of arrest, willfully discloses the fact of a presentment or an indict- ment having been made for a felony, until the defendant has been arrested, is guilty of a misdemeanor. 7.