[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 214328] memcheck incorrectly reports "definitely leaked" when
From:       Tom Hughes <tom () compton ! nu>
Date:       2009-11-13 0:47:12
Message-ID: 20091113004712.E8CFC26F03 () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=214328


Tom Hughes <tom@compton.nu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |tom@compton.nu
         Resolution|                            |INVALID




--- Comment #1 from Tom Hughes <tom compton nu>  2009-11-13 01:47:11 ---
It may be static but it has still has a destructor that will be run when the
program terminates. That destructor will free the memory allocated by the map
object which contained your pointer, so once that destructor has run there is
no longer anything which points at your piece of memory.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic