Water heaters are generally covered by home warranty policies. If the leakage is due to lack of maintenance on your part, then home warranty company has the right to decline the coverege. But normal wear and tear conditions are covered, so you should be fine.