This sparked an interesting memory for me. I was once working with a customer who was producing on-board software for a missile... they had a number of problems with storage leaks... the customers chief software engineer said "Of course it leaks". He went on to point out that they had calculated the
amount of memory the application would leak in the total possible flight time for the missile and then doubled that number.... Since the missile will explode when it hits its target or at the end of its flight, the ultimate in garbage collection is performed without programmer intervention.
TL;DR
Funny, but tech debt that will bite them if the software ends up used for a different "product". It's an ugly hack really.