MFC r250764

Fix rte leak introduced in r248070.