In Google's C++ test framework, my eyes read:
.. returns from the current function immediately, possibly skipping clean-up code that comes after it, it may cause a space leak.
while my brain expected to see a memory leak.
Is that terminology used in C++? If so, what does it mean (in other words how it's distinguishable from a memory leak)?
In Haskell, a space leak refers to a situation where a program or specific computation uses much more memory than is necessary.
In Java, using the phrase "space leak" doesn't make sense.