SACRAMENTO — For the second year in a row, a gubernatorial veto has quashed an effort by the state’s 3,000 public defenders to restore their immunity from malpractice suits.

Defenders had assumed they shared such immunity with prosecutors and other government attorneys until a member of the Los Angeles public defender’s office was found liable for malpractice in Barner v. Leeds, 62 Cal.App.4th 1240 (1998).