A memory leak happens when your application allocates a space in memory and never frees it again.
How memory leaks happen in Delphi
In a Delphi application, memory spaces are allocated and released all the time. This is often done automatically by the compiler or by the RTL – for example, when allocating variables of primitive types, parameters that are passed to functions, etc. – and we usually do not have to worry about it.