From kde-bugs-dist Tue Mar 31 23:36:22 2009 From: Nicholas Nethercote Date: Tue, 31 Mar 2009 23:36:22 +0000 To: kde-bugs-dist Subject: [Bug 188572] Valgrind on Mac should suppress setenv() mem leak Message-Id: <20090331233622.490FB16169 () immanuel ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=123854262807660 https://bugs.kde.org/show_bug.cgi?id=188572 Nicholas Nethercote changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |njn@valgrind.org --- Comment #1 from Nicholas Nethercote 2009-04-01 01:36:19 --- For reference, here's the relevant section from the man page: BUGS Successive calls to setenv() or putenv() assigning a differently sized value to the same name will result in a memory leak. The FreeBSD seman- tics for these functions (namely, that the contents of value are copied and that old values remain accessible indefinitely) make this bug unavoidable. Future versions may eliminate one or both of these semantic guarantees in order to fix the bug. -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.