The defendant’s motion to dismiss the complaint was properly allowed under G.S. 1A-1, Rule 12(b)(6) if the complaint has pled a fact that will necessarily defeat its claim.
See Powell v. County of Haywood,
“(c) Except where otherwise provided by statute, a cause of action for malpractice arising out of the performance of or failure to perform professional services shall be deemed to accrue at the time of the occurrence of the last act of the defendant giving rise to the cause of action: Provided that whenever there is bodily injury to the person, economic or monetary loss, or a defect in or damage to property which originates under circumstances making the injury, loss, defect or damage not readily apparent to the claimant at the time of its origin, and the injury, loss, defect or damage is discovered or should reasonably be discovered by the claimant two or more years after the occurrence of the last act of the defendant giving rise to the cause of action, suit must *753 be commenced within one year from the date discovery is made . . .
The plaintiff may not proceed under the proviso of G.S. l-15(c). He alleges that on 25 September 1978 the bankruptcy judge ruled that the security interest had not been perfected. He knew no later than that date of the alleged negligence and did not file this action until more than one year later.
The resolution of this appeal depends on whether the defendant had a continuing duty to file the financing statement after 27 May 1976. We hold that he did have such a duty. We believe that an attorney who represents a party as alleged in this action has a duty to file the financing statement after the transaction is closed, which duty continues so long as the filing of the financing statement would protect some interest of his client. If the financing statement in this case had been filed a sufficient period of time prior to the date of filing of the petition in bankruptcy, the plaintiff would not have lost his lien. It is on that date that the three-year statute of limitations began to run. The complaint does not allege a fact that will necessarily bar the plaintiffs claim and it was error to dismiss the action.
Reversed and remanded.
