Ticket #5201: Get rid of internal error when checking valid C input for memory leaks.