A surety is not exonerated by the discharge of his principal by operation of law, without the intervention or omission of the creditor.
(Amended by Stats. 1939, Ch. 453.)