title: When a function ends are its local variables deallocated?
body: <p>If not does that mean that I would have to end each function by deleting all local variables if I wanted to prevent 100% of memory leak? </p>