Back to library

Explain a bug

Prompt

Explain in one paragraph why this function leaks memory when called in a loop, then show the corrected version. <paste code here>

Open model Playground