Fix memory leak spotted by David Lange
Merge pull request #5210 from mark-grimes/fixME0SegmentMatcherMemory

Fix memory leak in ME0SegmentMatcher