|
From: Jeroen N. W. [Bahco] <jn...@xs...> - 2009-06-26 16:15:35
|
> Author: njn > Date: 2009-06-26 08:00:00 +0100 (Fri, 26 Jun 2009) > New Revision: 10380 > > Log: > Suppress a leak in setenv(). Fixes bug 188572. [snip] > Modified: trunk/darwin9.supp > =================================================================== > --- trunk/darwin9.supp 2009-06-26 04:35:51 UTC (rev 10379) > +++ trunk/darwin9.supp 2009-06-26 07:00:00 UTC (rev 10380) > @@ -143,7 +143,19 @@ > fun:puts > } > > +# Genuine leaks. > +# See https://bugs.kde.org/show_bug.cgi?id=188572 about this; it's > +# unavoidable due to BSD setenv() semantics. > +{ > + <insert a suppression name here> > + Memcheck:Leak > + fun:malloc_zone_malloc > + fun:__setenv > + fun:setenv$UNIX2003 > + fun:main I may be wrong, but I'd think this suppression only works for the test program, and not for 'real' applications. Shouldn't the last line be deleted? Regards, Jeroen. |