The intentional destruction, cancellation, or material alteration of a written contract, by a party entitled to any benefit under it, or with his consent, extinguishes all the executory obligations of the contract in his favor, against parties who do not consent to the act.
R.L.1910, § 990.