In all cases conducted under this Article it shall be competent for the court, in its discretion, to direct the application of funds arising from a sale or mortgage of such property in such manner as may appear necessary or expedient for the protection of the interest of the mentally incompetent spouse: Provided, however, this section shall not be construed as requiring a purchaser or any other party advancing money on the property to see to the proper application of such money, but such purchaser or other party shall acquire title unaffected by the provisions of this section.
N.C. Gen. Stat. § 35A-1313