Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Memory Analysis: (2 Items)
   
Memory Analysis  
On program termination I get lots of error:

memory leak of size 20:

The memory backtrace shows:

...: __static_initialization_and_destruction_()(int,int):64
...: global constructor keyed to gLanguage:572

gLanguage is a char, why would it have a constructor?

Of course for each of these error the filename and line numbers are different.






Re: Memory Analysis  
is there binary mismatch and it is confused some-how?

On 04/13/2011 04:01 PM, Mario Charest wrote:
> On program termination I get lots of error:
> 
> memory leak of size 20:
> 
> The memory backtrace shows:
> 
> ...: __static_initialization_and_destruction_()(int,int):64
> ...: global constructor keyed to gLanguage:572
> 
> gLanguage is a char, why would it have a constructor?
> 
> Of course for each of these error the filename and line numbers are different.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post84955
>