bug-gnulib
[Top][All Lists]
Advanced

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

Re: memory leaks in gnulib tests (for ASAN/LINT)


From: Bruno Haible
Subject: Re: memory leaks in gnulib tests (for ASAN/LINT)
Date: Tue, 09 Oct 2018 17:22:31 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-137-generic; KDE/5.18.0; x86_64; ; )

> I don't intend to do anything about the not serious ones.

The GNU standards [1] say so as well:
  "Memory analysis tools such as valgrind can be useful, but don’t complicate
   a program merely to avoid their false alarms. For example, if memory is used
   until just before a process exits, don’t free it simply to silence such a 
tool."

[1] 
https://www.gnu.org/prep/standards/html_node/Memory-Usage.html#index-memory-leak




reply via email to

[Prev in Thread] Current Thread [Next in Thread]