This is an action by a client against his attorneys for damages, based on allegations to the effect that they negligently failed to perform one of the duties for
*568
which they were employed, namely, to file a petition for his discharge in bankruptcy. The respondent is one of the two attorneys sued. He appeared separately and his demurrer to the second amended complaint was sustained without leave to amend. Accordingly judgment was entered in his favor, and the client appeals. The record on which the appeal was taken does not disclose whether respondent’s co-defendant was served with summons, or if so what disposition was made of the case as to him. The trial court’s order sustaining the demurrer was general in terms; therefore, if it appears that the demurrer was well taken as to any of the grounds urged therein, the judgment based on the trial court’s order must be affirmed.
(Haddad
v.
McDowell,
The principal ground of demurrer was that the second amended complaint failed to state a cause of action, and the important point urged in this behalf is that in an action brought by a client against his attorney for the latter’s alleged negligence in failing to perform some act in behalf of the client, the complaint must not only specify the act, but must specifically allege and the plaintiff must prove that if the attorney had performed the act it would have resulted beneficially to the client. A large number of cases from other jurisdictions, including one from the federal court, are cited by respondent, which doubtless sustain the rule contended for by him. Among them are
Vooth
v.
McEachen,
Respondent also cites the following California cases, which contain language indicating that the same rule prevails in this jurisdiction:
Lally
v.
Kuster,
The bill of exceptions upon which the appeal herein is presented embodies the first and second amended complaints, and neither contains any allegation which directly or by implication alleges that if appellant’s attorneys had filed a petition for his discharge in bankruptcy, it would have been or he would have been entitled to have the same granted. Therefore, under the rule of the cases above referred to, the second amended complaint was fatally defective in stating a cause of action.
Appellant in effect concedes the existence of the rule as declared by the cases cited by respondent, but contends that while such rule is applicable where the attorney has been employed in contested civil litigation, it is not here controlling, because, so he contends, the granting of a discharge in bankruptcy is mandatory, unless the bankrupt has committed certain prohibited acts, and that these prohibited acts are in effect affirmative defenses which need not be pleaded. In this behalf appellant argues that other things being equal, the bankrupt is entitled to his discharge upon the mere filing of his petition, and any attempt to plead facts showing that the discharge would have been granted would be merely pleading' that plaintiff had not committed any of the prohibited acts which might have prevented his discharge, which would amount to anticipating a defense.
As pointed out by respondent, however, the granting of a discharge is not mandatory; that is to say, a bankrupt is entitled to a discharge only if he has complied with the provisions of the Bankruptcy Act and has not committed any of the offenses listed. It is in effect so held in In re Northridge, 53 Fed. (2d) 858, wherein the court said: “The right to a discharge is not something which the bankrupt is entitled to for the mere asking. It is a high privilege which *570 should not be granted except in clear cases where all the statutory conditions and requirements have been fully met and complied with ...” (See, also, In re Weisberger, 41 Fed. (2d) 275; Holmes v. Davidson, 84 Fed. (2d) 111.) Furthermore, as respondent points out, in cases where the attorney was sued by the client for failure to enforce the collection of a note, it is held that the client must allege and prove not only that he would have obtained judgment on the note, but that the debtor was solvent and the judgment would have been collected; all of which are really matters of defense. Nevertheless, as contended by respondent, the cases hold they are not matters of defense in an action against the attorney, but are essential elements to the cause of action. (See Lally v. Kuster, supra, and authorities cited therein.)
Appellant also contends that even if such an allegation were necessary to the statement of a cause of action, its absence is not ground for affirmance of the trial court’s order, because the defect could have been cured by amendment; and appellant asked permission to amend. However, so far as the record shows, in asking leave to amend he did not indicate how or in what manner he proposed to amend. As said in
Stewart
v.
Douglass,
Appellant makes the further contention that the complaint is sufficient even without the allegation in question, because it is alleged that his attorneys “negligently omitted” to obtain appellant’s discharge; also because of the allegations relating to the matter of damages, citing
Dunn
v.
Dufficy,
Appellant has stated his cause of action in two counts, but what has been said applies with equal force to both counts; and in view of the conclusion reached on the point *572 discussed it becomes unnecessary to inquire into the remaining points made in support of the judgment, including the question of the statute of limitations, or to consider the correctness of the trial court’s ruling striking out certain allegations relating to the elements of damages.
The judgment is affirmed.
Peters, P. J., and Ward, J., concurred.
Appellant’s petition for a hearing by the Supreme Court was denied June 26, 1941.
