
560 P.2d 1371 (1977)
Donald Joseph ROUTHIER, Appellant,
v.
SHERIFF, CLARK COUNTY, Nevada, Respondent.
No. 9489.
Supreme Court of Nevada.
March 17, 1977.
*1372 Jeffrey D. Sobel, Las Vegas, for appellant.
Robert List, Atty. Gen., Carson City, George E. Holt, Dist. Atty. and J. Michael McGroarty, Deputy Dist. Atty., Clark County, Las Vegas, for respondent.

OPINION
PER CURIAM:
At the conclusion of a preliminary examination Donald Joseph Routhier was held to answer on one count of sale of a controlled substance, a felony under NRS 453.321 and 453.161. He then filed a pretrial petition for a writ of habeas corpus contending the charge must be dismissed because the magistrate denied the right to call and cross-examine a witness, as permitted by NRS 171.196(4).[1] The district court denied habeas and in this appeal the same contention is reasserted.
During the preliminary examination the magistrate, upon defense counsel's demand, directed a prosecution witness to divulge the name of the police informant who allegedly set up and witnessed the transaction which led to the felony charge. However, the magistrate refused to order disclosure of the informant's address. He also refused to continue the examination to permit Routhier to call and interrogate the "newly discovered" witness. The refusal to grant the continuance is the central issue on appeal.
It is undisputed that the informant was a material witness and, since that name was not disclosed until the preliminary examination was in progress, we hold that the magistrate's failure to grant the continuance was error; the district judge should have so ruled. NRS 171.196(4). Coleman v. Alabama, 399 U.S. 1, 9, 90 S.Ct. 1999, 26 L.Ed.2d 387 (1970). Accord, Eleazer v. Superior Court of Los Angeles County, 1 Cal.3d 847, 83 Cal. Rptr. 586, 464 P.2d 42 (1970); State v. Essman, 98 Ariz. 228, 403 P.2d 540 (1965). Cf. Washington v. Clemmer, 119 U.S.App.D.C. 216, 339 F.2d 715 (1964). Accordingly, we reverse.
NOTES
[1]  NRS 171.196(4) provides: "The defendant may cross-examine witnesses against him and may introduce evidence in his own behalf."
