Kong Studios Interview Question

When does a memory leak happen?