Kong Studios interview question

When does a memory leak happen?