Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Leak Sanitizer - how to suppress leaks



On 15/09/2019 21:02, Marc Balmer wrote:
Doesn‘t exit clear all resources on posix systems?

Don't assume that exit would ever be called.
Code used in some RTOS, such as RTEMS, everything runs as a thread and thus cannot call exit. In this case, at the natural programs exit, resources need to be cleaned up manually, as exit is the equivalent of shutdown.

Roy


Home | Main Index | Thread Index | Old Index