If HMRC discovers that a charity has claimed gift aid relief on a gift by a non-taxpayer, the legal liability to repay the tax falls on the donor. HMRC have said that they would look to the charity to repay the tax and I’m sure most do. But, if the charity cannot or does not repay the tax, the donor will have to repay it.
The basics on gift aid are here: http://www.hmrc.gov.uk/charities/gift_aid/basics.htm