Note that this may be memory bloat rather than a leak. Most people write code that guarantees memory is freed on exit, so a leak is never detected. However a more common and harder to find problem is bloat, where the memory is allocated (and grows) for the lifetime of the process but is only freed on shutdown.
Note that this may be memory bloat rather than a leak. Most people write code that guarantees memory is freed on exit, so a leak is never detected. However a more common and harder to find problem is bloat, where the memory is allocated (and grows) for the lifetime of the process but is only freed on shutdown.