Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc » Heap Leaks on Linux when migrating to new distro and newer UPP (Moved working app to new distro and upp-x11-src-8760 -- now heap leaks on exit)
Re: Heap Leaks on Linux when migrating to new distro and newer UPP [message #45259 is a reply to message #45258] Sun, 25 October 2015 08:22 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
The fact that it was allocated from U++ does not in this case mean that the leak is caused by U++.

This looks like the memory block is allocated when loading skin. ColoredOverride is called on CtrlsImg Images.

If you have an Image in your code that is on the heap and gets assing CtrlsImg:: image, and is leaked, you are about to get the leak you are getting. E.g.:

GUI_APP_MAIN {
    Image *m = new Image;
    *m = CtrlsImg::SizeGrip();
    // m is not deleted and is a leak
}
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: GetUserDefaultUILanguage identifier not found
Next Topic: OleAuto on Windows 7
Goto Forum:
  


Current Time: Mon May 06 08:18:12 CEST 2024

Total time taken to generate the page: 0.02610 seconds