Should public officials be allowed to use campaign funds to pay for legal fees in corruption cases?

Should public officials be allowed to use campaign funds to pay for legal fees in corruption cases?