The code is bad (yes, I know), but these should be harmless as the leaks are really only when asserting.