Name your estate rather than a charity as an RRSP or RRIF beneficiary otherwise no tax credit will be available to offset the Canadian income tax your estate will have to pay for the amount of the donation. By leaving instructions in your will that the money should be transferred to one or more named charities you will ensure that your estate gets the benefit of the tax credit for your donation.
"This article provides information of a general nature only. It is only current at the posting date. It is not updated and it may no longer be current. It does not provide legal advice nor can it or should it be relied upon. All tax situations are specific to their facts and will differ from the situations in the articles. If you have specific legal questions you should consult a lawyer."